1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Restored fog (non volumetric).

Uses a simpler and more intuitive implementation based on density.
Its less flexible than before, but its easier to get nice results.
This commit is contained in:
Juan Linietsky
2020-08-13 22:07:49 -03:00
parent d2d4c1c957
commit 6a5ecfdef1
13 changed files with 231 additions and 274 deletions

View File

@@ -562,9 +562,7 @@ public:
BIND6(environment_set_adjustment, RID, bool, float, float, float, RID)
BIND5(environment_set_fog, RID, bool, const Color &, const Color &, float)
BIND7(environment_set_fog_depth, RID, bool, float, float, float, bool, float)
BIND5(environment_set_fog_height, RID, bool, float, float, float)
BIND8(environment_set_fog, RID, bool, const Color &, float, float, float, float, float)
BIND9(environment_set_volumetric_fog, RID, bool, float, const Color &, float, float, float, float, EnvVolumetricFogShadowFilter)
BIND2(environment_set_volumetric_fog_volume_size, int, int)