From 079ca220e14669ef7c31c399985cd2c733af15bd Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 12 Aug 2020 22:21:01 -0300 Subject: Added volumetric fog effect. --- servers/rendering/rendering_server_raster.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'servers/rendering/rendering_server_raster.h') diff --git a/servers/rendering/rendering_server_raster.h b/servers/rendering/rendering_server_raster.h index 706912b353..75d3165c94 100644 --- a/servers/rendering/rendering_server_raster.h +++ b/servers/rendering/rendering_server_raster.h @@ -565,6 +565,12 @@ public: 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) + BIND9(environment_set_volumetric_fog, RID, bool, float, const Color &, float, float, float, float, EnvVolumetricFogShadowFilter) + + BIND2(environment_set_volumetric_fog_volume_size, int, int) + BIND1(environment_set_volumetric_fog_filter_active, bool) + BIND1(environment_set_volumetric_fog_directional_shadow_shrink_size, int) + BIND1(environment_set_volumetric_fog_positional_shadow_shrink_size, int) BIND11(environment_set_sdfgi, RID, bool, EnvironmentSDFGICascades, float, EnvironmentSDFGIYScale, bool, bool, bool, float, float, float) BIND1(environment_set_sdfgi_ray_count, EnvironmentSDFGIRayCount) -- cgit v1.2.3