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
1 changed files with 1 additions and 1 deletions

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)