Closed AntonTsirov closed 1 year ago
Hi Anton,
I see the arrows, but not sure what the problem is. Can you elaborate on the issue in text?
Hi, thank you for the fast response.
Sorry, I should have included a screenshot with how it looks without the "bug" (no idea what it is or the reason for it).
So, again the same blue wall and the shadow it casts: Now, the same blue wall shadow, but the the player and camera are on the other side. You can see a difference in the shadow in the bottom left corner. It has some additional bumps added to it:
And this bump happens in all other objects that cast shadows and I move close to them. I don't understand the reason for why the shadow is getting a bit bigger on the borders.
Thanks for clarifying! The jagged lines on the shadows could happen based on your shadow resolution and cascades settings, as well as the Sharpness
value (in Unity Built-in Shadows
section of the material). If that happens when using a standard Unity shader as well, please check Shadow troubleshooting.
Ahh, nice! Thank you. It was indeed caused by the cascade. I reduced it to 2 and now it doesn't happen. Cheers.
Hi there, I am trying out the shaders and noticed the following:
In the screenshot below you could see an example of the problem.
This ONLY happens when you get close to the shadows with the player.
These are the settings of the ground shader:
These are the settings of the wall, that is casting the shadow:
URP settings:
Unity details: