Search Issue Tracker
By Design
Votes
0
Found in
2021.3.39f1
2022.3.32f1
6000.0.5f1
Issue ID
UUM-73175
Regression
No
[URP] Spot light produces shadow artifacts
Steps to reproduce:
- Create a new Universal 3D template project
- Add a plane and a cube to the scene
- Disable directional light
- Add Spot Light
- Enable shadows on the light
- Rotate/move around the light and observe the shadow of the cube
\\
Actual results: seems like top of the cube shadow is sepparated and shadows are not synced with the rest of the cube
Expected results: shadows are rendered without artifacts
\\
Reproducible with versions:
2021.3.39f1 2022.3.32f1 6000.0.5f1
\\
Tested on (OS):
macOS Intel
Windows 11
\\
Notes:
- Seems to work as expected in HDRP template
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Hi, thank you for the report.
You will need to change your light settings to get better results. You can set the resolution of you shadow texture to "Custom" (Shadows -> Realtime Shadows -> Resolution), and select a higher value for your spot light, at the cost of performance. Try f.ex. 2048 instead.
In addition, you can set the bias to "Custom" as well (Shadows -> Realtime Shadows -> Bias), and fiddle around with the Depth & Normal bias. I suggest try setting the Normal bias to 0.
Hope this resolves your issue.