Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2019.3.6f1
Issue ID
1230918
Regression
No
[Encoding/compression] Lightmap Encoding Quality settings do not apply to Shadowmask textures
Steps to reproduce:
1. Download and open the attached project
2. Open SampleScene
3. Bake the lighting
4. Navigate to Project Settings > Player > Lightmap Encoding Quality and make sure that it is set to High
5. Select shadowmask texture
6. Notice that its compression quality is set to Normal
Notes:
- Reproduces on 2017.4.38f1, 2018.4.20f1, 2019.3.6f1
- This negatively impacts the quality of shadowmask output (please see the attached .gif)
- For more information please refer to the following Favro card: https://favro.com/organization/c564ede4ed3337f7b17986b6/0ae5422e2f78207a0998ab80?card=Uni-132740
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2022.1):
The behavior that Lightmap Encoding doesn't affect shadowmask textures is actually by design (albeit arguably a confusing design). Lightmap Encoding was originally intended to only affect reguar lightmaps and directional lightmaps, but only in some cases. This is not intuitive and we aim to address this issue by completely decoupling Lightmap Encoding from lightmap compression. Instead, we aim to add a new explicit lightmap compression setting in the Lighting Data Asset that gives the user full control of the compression quality used for _all_ lightmaps (including directional lightmaps, and shadowmasks). This removes a lot of edge case and simplifies the logic regarding how to configure lightmap compression.