File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2030,7 +2030,7 @@ void main() {
20302030 specular_light = mix (specular_light, custom_radiance.rgb, custom_radiance.a);
20312031#endif // CUSTOM_RADIANCE_USED
20322032
2033- #ifndef USE_LIGHTMAP
2033+ #if ! defined( USE_LIGHTMAP) && ! defined(USE_LIGHTMAP_CAPTURE)
20342034 // lightmap overrides everything
20352035 if (scene_data.use_ambient_light) {
20362036 ambient_light = scene_data.ambient_light_color_energy.rgb;
@@ -2050,7 +2050,7 @@ void main() {
20502050 }
20512051#endif // DISABLE_REFLECTION_PROBE
20522052 }
2053- #endif // USE_LIGHTMAP
2053+ #endif // ! USE_LIGHTMAP && !USE_LIGHTMAP_CAPTURE
20542054
20552055#if defined(CUSTOM_IRRADIANCE_USED)
20562056 ambient_light = mix (ambient_light, custom_irradiance.rgb, custom_irradiance.a);
You can’t perform that action at this time.
0 commit comments