diff options
author | clayjohn <claynjohn@gmail.com> | 2022-05-16 11:57:41 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-05-16 11:57:41 -0700 |
commit | 600d8105d8236921c79693c72226d897d1ce9021 (patch) | |
tree | f5570a089919431ddddea4d48a05bea9ff2f9019 /servers/rendering/renderer_rd | |
parent | 4654de547458cc69a36abf6df65c219469abfa85 (diff) |
Fix custom irradiance bug in Vulkan mobile renderer
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl b/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl index b4e4ac9bc8..fd0fefc5fd 100644 --- a/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl +++ b/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl @@ -924,7 +924,7 @@ void main() { #endif // !USE_LIGHTMAP #if defined(CUSTOM_IRRADIANCE_USED) - ambient_light = mix(specular_light, custom_irradiance.rgb, custom_irradiance.a); + ambient_light = mix(ambient_light, custom_irradiance.rgb, custom_irradiance.a); #endif // CUSTOM_IRRADIANCE_USED #ifdef LIGHT_CLEARCOAT_USED |