Please take a look at the circled area in red. It looks as if I’m looking through a lens I never put in there. For every single URP project I create, I get this issue. At first I thought it was the default post-processing volume that comes with URP, but even after deleting that the weird lens effect lingers. I didn’t change any settings, so it’s as is when one creates an URP project for the first time.
How can I fix this?!(http://C:\Users\참관자\Downloads\unity default r)
Edit: I’m also attaching a picture of what the shadow should look like to make my question clearer
I’m not talking about the shadow itself, i’m talking about the weird borderline that’s drawn in the middle of the shadow. The upper half is crisp and clear but the bottom half is blurred and spread as if there was a lens. If I put a game object at that spot, it gets stretched and blurred also
Perhaps I should have been clearer with my question
Ok I found the solution myself
The “blurring” was taking place because the shadows distance was too low
Open your URP asset and in the inspector click Shadows dropdown. Then, increase “Distance” to something like 100.
The default is set to 50, so the shadow blurs out like the second picture above when it’s on the edge of the screen
This is a transition between shadow cascades. Near the camera, a higher-res shadow map is used. Further away, it switches to a lower resolution (blurrier) one. You can hide it by either increasing shadow distance (at the cost of worse utilization of the shadow map), or messing with the cascade transition thresholds.
Note this also takes place in the built-in pipeline, or in any engine/pipeline that implements shadow cascades for that matter.