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
- Marker in the animation’s preview window doesn’t stop when reaching the end of the timeline and jumps to the start of the animation when moving it with the cursor
- Animation Event marker is not placed on the current time of the timeline when using the “Add Event” button
- Editor crashes on vector_map<ConstantString,AssetBundle when using the LoadAssetAsync function
- Fetched files in Perforce are automatically added to the change list when they are serialized
- Water System is not rendering waves or ripples when using macOS M2
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a5