Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.3.0a5
Issue ID
UUM-114212
Regression
No
Terrain Opacity as Density not working
Steps to reproduce:
- Create a new scene
- Create a terrain by right clicking in the hierarchy, 3D objects, Terrain
- Select the new terrain object, and in the inspector window, go to the pain Terrain tab in the terrain component, Select paint texture, and create two new Terrain layers.
- Use red (1rst layer) and blue (2nd layer) textures for the test. The blue texture has an alpha with various gray intensity.
- Add the two terrain layers and check "Opacity as Density" for the blue layer.
- Paint the blue layer with a low Opacity.
Actual results: Opacity looks not really took into account and especially the "Opacity as Density" feature doesn't work. Notice the blue square appearing.
Expected results: When the blue layer is paint with a low opacity brush, more rectangles should appears more the terrain is painted. No blue square appears
Reproducible with versions: 6.3 (URP), 2021.3.55f1, 2021.2.19f1, 2020.3.20f1, 2020.3.8f1
Not reproducible with versions: 2020.3.7f1
Can’t test with versions:
Tested on (OS): Windows
Notes:
- This Terrain feature works like the "Use Opacity map as Density map" in the HDRP Layer Lit shader. It manage a threshold via the alpha intensity.
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
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- SetComponentEnabled uses class instead of struct when constraining Enableable Component type
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
Resolution Note:
While the blending behavior of the terrain when using opacity as density doesn't match the behavior of the Layered Lit shader, it will cause significant visual regressions to change this blending behavior. We will open an internal feature request to add new blending / normalization behavior to the terrain shaders.
Matching the Layered lit behavior can also now be accomplished by using the terrain shadergraph, this will support the same top down normalization that is done in Layered Lit.