Fix custom irradiance bug in Vulkan mobile renderer

This commit is contained in:
clayjohn 2022-05-16 11:57:41 -07:00
parent 4654de5474
commit 600d8105d8
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,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 // CUSTOM_IRRADIANCE_USED #endif // CUSTOM_IRRADIANCE_USED
#ifdef LIGHT_CLEARCOAT_USED #ifdef LIGHT_CLEARCOAT_USED