Fix typo in CUSTOM_IRRADIANCE calculations

This commit is contained in:
Kodi 2021-06-15 14:50:24 -04:00
parent 12e0f10c74
commit 69e1f25299

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)