diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-08 17:20:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 17:20:32 +0200 |
commit | d2a67c9c1fdee470064f2b3c5750c98f174b5399 (patch) | |
tree | 569f6c4b0d128ccd1455f0b1627f3ee51298df0f /drivers | |
parent | 22b42c3315081144ecea26e4a51600255dc8eed6 (diff) | |
parent | d1a35b5a970879de9ec648ffd6fae539a607d49b (diff) |
Merge pull request #30714 from Calinou/invert-default-fog-height
Invert and adjust the default fog height values
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles2/rasterizer_scene_gles2.h | 4 | ||||
-rw-r--r-- | drivers/gles3/rasterizer_scene_gles3.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gles2/rasterizer_scene_gles2.h b/drivers/gles2/rasterizer_scene_gles2.h index f60ca9675e..69a2295fc1 100644 --- a/drivers/gles2/rasterizer_scene_gles2.h +++ b/drivers/gles2/rasterizer_scene_gles2.h @@ -398,8 +398,8 @@ public: fog_transmit_enabled(true), fog_transmit_curve(1), fog_height_enabled(false), - fog_height_min(0), - fog_height_max(100), + fog_height_min(10), + fog_height_max(0), fog_height_curve(1) { } }; diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h index b5e64b6162..3d09adcfeb 100644 --- a/drivers/gles3/rasterizer_scene_gles3.h +++ b/drivers/gles3/rasterizer_scene_gles3.h @@ -527,8 +527,8 @@ public: fog_transmit_enabled(true), fog_transmit_curve(1), fog_height_enabled(false), - fog_height_min(0), - fog_height_max(100), + fog_height_min(10), + fog_height_max(0), fog_height_curve(1) { } }; |