Fix typo in CUSTOM_IRRADIANCE calculations
This commit is contained in:
parent
12e0f10c74
commit
69e1f25299
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ void main() {
|
||||||
}
|
}
|
||||||
#endif // USE_LIGHTMAP
|
#endif // USE_LIGHTMAP
|
||||||
#if defined(CUSTOM_IRRADIANCE_USED)
|
#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
|
||||||
#endif //!defined(MODE_RENDER_DEPTH) && !defined(MODE_UNSHADED)
|
#endif //!defined(MODE_RENDER_DEPTH) && !defined(MODE_UNSHADED)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue