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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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.