diff options
author | Clay John <claynjohn@gmail.com> | 2020-08-13 20:25:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 20:25:37 -0700 |
commit | e0ee38b128fa84b8e7db499ead66264ca4ec9c60 (patch) | |
tree | 6864ea16c2eb80fcde5a4e2bed888ef957923944 /servers/rendering_server.h | |
parent | d2d4c1c9575953868fbdf25d8684eeee1eff4e25 (diff) | |
parent | 6a5ecfdef1949baaf3597e214ad291b6786f0239 (diff) |
Merge pull request #41240 from reduz/fog
Restored fog (non volumetric).
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 57af53f0c0..a13fd4954b 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -862,9 +862,7 @@ public: virtual void environment_set_sdfgi_frames_to_converge(EnvironmentSDFGIFramesToConverge p_frames) = 0; - virtual void environment_set_fog(RID p_env, bool p_enable, const Color &p_color, const Color &p_sun_color, float p_sun_amount) = 0; - virtual 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) = 0; - virtual void environment_set_fog_height(RID p_env, bool p_enable, float p_min_height, float p_max_height, float p_height_curve) = 0; + virtual void environment_set_fog(RID p_env, bool p_enable, const Color &p_light_color, float p_light_energy, float p_sun_scatter, float p_density, float p_height, float p_height_density) = 0; enum EnvVolumetricFogShadowFilter { ENV_VOLUMETRIC_FOG_SHADOW_FILTER_DISABLED, |