1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Fix custom irradiance bug in Vulkan mobile renderer

This commit is contained in:
clayjohn
2022-05-16 11:57:41 -07:00
parent 4654de5474
commit 600d8105d8

View File

@@ -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