Merge pull request #49630 from kodiwills/fix-custom-irradiance-typo
Fix typo in `CUSTOM_IRRADIANCE` calculations
This commit is contained in:
commit
c2ba45fcc8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue