Search Issue Tracker
Fixed
Votes
1
Found in
2017.4
2019.3.5f1
2020.2
Issue ID
1228716
Regression
No
Generated Lightmap has visual artifacts when using Progressive CPU/GPU Lightmapper
How to reproduce:
1. Open the attached project's "case_1228716-Project.zip" Scene labeled "test2"
2. Open the Lighting Settings (Window->Rendering->Lighting Settings)
3. In the Lighting Window, select the Progressive CPU/GPU Lightmapper
4. Press "Generate Lighting"
5. Wait for the Lightmap baking to finish
6. Observe the Scene View
Expected result: Generated Lightmap doesn't have any artifacts
Actual result: Generated Lightmap has visual artifacts
Reproducible with: 2017.4.19f1, 2018.4.20f1, 2019.3.6f1, 2020.1.0b3, 2020.2.0a5
Note: Using Enlighten Lightmapper doesn't reproduce the issue
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
This is not a bug. The artifacts are caused by the invalid GI texels produced by the shadow casting plane's backface. To fix this issue you need to enable the double-sided GI support on the material inspector. This feature is supported by both CPU and GPU Progressive Lightmappers.
Steps to fix the issue:
1. Create the new material and assign it to the 'Plane' gameobject (shadow caster);
2. In the material Inspector enable "Double Sided Global Illumination" checkbox;
3. Rebake the GI either with CPU or GPU Lightmapper.
Attaching the screenshot, fixed project and resolving the case by design.