1
0
mirror of https://github.com/godotengine/godot synced 2024-07-08 19:45:48 +00:00

Merge pull request #49630 from kodiwills/fix-custom-irradiance-typo

Fix typo in `CUSTOM_IRRADIANCE` calculations
This commit is contained in:
Rémi Verschelde 2021-06-15 22:37:54 +02:00 committed by GitHub
commit c2ba45fcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -904,7 +904,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
#endif //!defined(MODE_RENDER_DEPTH) && !defined(MODE_UNSHADED)