diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-17 15:40:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 15:40:32 +0200 |
commit | 32f95c2f8782f7e524310b4c040f86cb475fdab2 (patch) | |
tree | d6c050a000439230f2efcd83ee482528f58c2cd8 /servers/rendering/rasterizer_rd/rasterizer_scene_rd.h | |
parent | 3c3795279f92f43cfc56531442cc0b1b03f2d975 (diff) | |
parent | 0ff929a926668887f46335dc8ae85357743706a4 (diff) |
Merge pull request #37951 from clayjohn/VULKAN-sky-source
Use sky properly for ambient and reflections
Diffstat (limited to 'servers/rendering/rasterizer_rd/rasterizer_scene_rd.h')
-rw-r--r-- | servers/rendering/rasterizer_rd/rasterizer_scene_rd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/rasterizer_rd/rasterizer_scene_rd.h b/servers/rendering/rasterizer_rd/rasterizer_scene_rd.h index bb42ce7182..a6034f188b 100644 --- a/servers/rendering/rasterizer_rd/rasterizer_scene_rd.h +++ b/servers/rendering/rasterizer_rd/rasterizer_scene_rd.h @@ -866,8 +866,8 @@ public: float environment_get_bg_energy(RID p_env) const; int environment_get_canvas_max_layer(RID p_env) const; Color environment_get_ambient_light_color(RID p_env) const; - RS::EnvironmentAmbientSource environment_get_ambient_light_ambient_source(RID p_env) const; - float environment_get_ambient_light_ambient_energy(RID p_env) const; + RS::EnvironmentAmbientSource environment_get_ambient_source(RID p_env) const; + float environment_get_ambient_light_energy(RID p_env) const; float environment_get_ambient_sky_contribution(RID p_env) const; RS::EnvironmentReflectionSource environment_get_reflection_source(RID p_env) const; Color environment_get_ao_color(RID p_env) const; |