Search Issue Tracker
By Design
Votes
0
Found in
Issue ID
1118913
Regression
No
Realtime lighting contribution is broken on normal mapped surfaces when using Baked Indirect lighting mode
Steps to reproduce:
1. Download the attached project and open CornellBox scene
2. In the Lighting Settings window, change the lighting mode to Baked Indirect
3. In the Hierarchy panel, make sure that the Directional Light is enabled
4. Bake the lighting
5. Focus on the CornellBox_FrontFace object (Hierarchy > CornellBox) and notice strange direct lighting artifacts
Notes:
- Reproduces in all render paths
- The issue does not reproduce on surfaces without a normal map
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note:
This is a shortcoming of using normal maps and single sided geometry. We're not using the geometric normal on top of the normal map normal for visibility checks. Shadowmask works because lighting is obscured by the shadows from the baking process. Shadowmaps can't do that, because they only see the geometry as a flat plane.
If you want a more correct solution, you either need to close the geometry so there's a proper backface to obscure the light, use parallax occlusion with shadow ray marching or tessellate the geometry.