Browse Source

Merge pull request #61099 from clayjohn/VULKAN-Mobile-shader-bug

Rémi Verschelde 3 years ago
parent
commit
23207fcfdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl

+ 1 - 1
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