Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.1.0f2
Issue ID
1050091
Regression
No
Shader does not collect proper shadow information when using SHADOW_ATTENUATION macro
How to reproduce:
1. Create a new project which uses Forward rendering with 1 pixel light allowed
2. Add directional light to the scene (sunlight)
3. Import the attached "case_1050091-AlderTree_problematic.unitypackage" package, and drop "Alder_LOD" prefab in a scene
4. Rotate and move your camera around (an example is shown in the attached video "2018-06-21 11-54-31.mp4")
Expected result: Shadow on the tree does not flicker in and out when rotating the camera
Actual result: Shadow on the tree flickers in and out, depending on some arbitrary camera positions and/or angle
Reproducible with: 2017.1.4p2, 2017.2.3p1, 2017.4.6f1, 2018.1.6f1, 2018.2.0b10, 2018.3.0a3
Note: Changing the shader's render queue seems to have an effect on the problem but cannot resolve it completely. Problem is most visible on LOD transitions, as well as shadow cascade transitions.
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
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a5