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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.