Fix custom irradiance bug in Vulkan mobile renderer
This commit is contained in:
parent
4654de5474
commit
600d8105d8
|
@ -924,7 +924,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 // CUSTOM_IRRADIANCE_USED
|
||||
#ifdef LIGHT_CLEARCOAT_USED
|
||||
|
||||
|
|
Loading…
Reference in New Issue