Search Issue Tracker
Won't Fix
Votes
2
Found in
5.3.4f1
Issue ID
790583
Regression
No
Lightmaps for objects far away from transform origin have artefacts
Workaround: assign a http://docs.unity3d.com/Manual/LightmapParameters.html to the distant mesh and set pushoff to a higher value. This should take care of the floating point precision issues on faraway objects.
Cause: A high pushoff value means that the raytrace is started further from the surface of the objects. This can lead to artefacts if the pushoff is too high, caused by floating point inaccuracies. It will not slow down the bake.
Steps to reproduce:
1. Open attached project "790583.zip"
2. Open scene "test"
3. In hierarchy, select "Far" and notice that its position is (3000, 3000, 3000)
4. In lighting window, build lightmap
5. In hierarchy, double click on "Far" to focus on it
6. Notice artefacts
Note: Some artefacts are also visible when "Far" is as close as (500, 500, 500)
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4p5, 5.4.0b16
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent logic on when 'open VFX graph Samples' button appears on Visual Effect Graph in Package Manager
- Unable to dock tabs on panels when non-standard pointers are used (touch-screen, tablet and pen)
- Editor hangs when rendering TMP Text Component with Left and Right Margins set in the Extra Settings
- Occlusion's fields can be set to negative numbers
- Issues with tutorial content in Universal 3D sample
Add comment