- Home /
Shadow resolution higher than "Very High"?
I find that the edges of shadows in unity are very jagged/pixelated even on the highest resolution setting. Is there a way to set the resolution higher than this? If there is now way to do this natively in unity is there an asset that does this or fixes this problem in another way (e.g smoothing the edges ) ?
Answer by IgorAherne · Jun 08, 2017 at 08:52 PM
what you see are the pixels on the texture rendered from the point of view of light. It's called shadowmap, and just like a normal texture, it consist from texels.
Look for stencil shadows
or PCF shadows
on asset store
Thank you soooooo much! I've been googling for 3 hours and this helped alot! Thank you thank you thank you!
Answer by kritoa · Jun 08, 2017 at 10:30 PM
As far as I know, the answer is no, but you can improve the... effective resolution of the shadowmap by going into ProjectSettings->Quality and sliding the first cascade split as close as still looks good. That will make all the close range shadows much nicer, but will bring the area covered by the second cascade closer as well (but then you can move the second cascade split closer, and then repeat for the other cascades until you get the best compromise you can.
Answer by Stardog · Jul 06, 2018 at 11:30 PM
https://docs.unity3d.com/ScriptReference/Light-shadowCustomResolution.html
Custom shadow map resolution.
Your answer
Follow this Question
Related Questions
Shadow quality and small object scale? 3 Answers
What are the shadow resolutions of Unity3d Dynamic Shadows? 0 Answers
Controlling Shadow Resolution Quality in script? 2 Answers
Shadows are choppy on Android, but look fine in Unity Editor on my PC 0 Answers
When exporting from Unity to Xcode my game is extremely pixelised 0 Answers