summaryrefslogtreecommitdiff
path: root/drivers/dummy
diff options
context:
space:
mode:
authorDominique LaSalle <dominique@solidlake.com>2018-11-13 17:19:11 -0800
committerDominique LaSalle <dominique@solidlake.com>2018-11-13 17:19:11 -0800
commit6eae6247e4fc3bf1655f52be0c583573ec7700ea (patch)
treef6a1fdf868f2204122ac8fbb77f8ad96b50d0991 /drivers/dummy
parent72db3000a56a6f85d348c218437d1a1dfc0953bf (diff)
Add parameter for fog max depth and use alpha as density.
Diffstat (limited to 'drivers/dummy')
-rw-r--r--drivers/dummy/rasterizer_dummy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h
index d109ef7b91..1cdcdc03b0 100644
--- a/drivers/dummy/rasterizer_dummy.h
+++ b/drivers/dummy/rasterizer_dummy.h
@@ -74,7 +74,7 @@ public:
void environment_set_adjustment(RID p_env, bool p_enable, float p_brightness, float p_contrast, float p_saturation, RID p_ramp) {}
void environment_set_fog(RID p_env, bool p_enable, const Color &p_color, const Color &p_sun_color, float p_sun_amount) {}
- void environment_set_fog_depth(RID p_env, bool p_enable, float p_depth_begin, float p_depth_curve, bool p_transmit, float p_transmit_curve) {}
+ void environment_set_fog_depth(RID p_env, bool p_enable, float p_depth_begin, float p_depth_end, float p_depth_curve, bool p_transmit, float p_transmit_curve) {}
void environment_set_fog_height(RID p_env, bool p_enable, float p_min_height, float p_max_height, float p_height_curve) {}
bool is_environment(RID p_env) { return false; }