You've already forked godot
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user