summaryrefslogtreecommitdiff
path: root/drivers/gles2
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-07-20 17:26:45 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-07 18:21:44 +0200
commitd1a35b5a970879de9ec648ffd6fae539a607d49b (patch)
tree6b3aa7b4ada61e01af75572d67c5b0fc88df7d45 /drivers/gles2
parent437939589234559febabb9a4c392145521a9c3a5 (diff)
Invert and adjust the default fog height values
This makes height fog appear at the bottom of the scene (instead of the top), which is generally the expected result. This also tweaks the fog height setting hint to be more flexible. This closes #30709.
Diffstat (limited to 'drivers/gles2')
-rw-r--r--drivers/gles2/rasterizer_scene_gles2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles2/rasterizer_scene_gles2.h b/drivers/gles2/rasterizer_scene_gles2.h
index c95385eb24..1b083e1949 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) {
}
};