Unity Shadow Question

Heey all,

Lately i worked on a little project. Now what i noticed was that the shadows in unity are not really what you call good looking. I used a pixel shadow because we intend to make it dynamic ( a day and night system ).
I already set the quality settings in unity to the maximum but it still doesn’t get to the result that i would like.

Our current project:

Is there a way to boost the shadow quality?
p.s. Dont mind the interface :lol:

Greets, Jorisshh :smile:

Try reducing the shadow distance.

Heey,

I reduced the distance but the quality of the shadow stays exactly the same :frowning:

Any other tips?

Greets, Jorisshh

What specifically are you looking to change? The more exact you are, the more likely someone could find a solution to your dilemma.

The shadows inside the game are very pixelated when you look close. Because i use the pixel effect the shadow will nicely show on my character. But when i move trough the game you see the edges of the shadow are very carteled ( or something like that :lol: )

Hope some one has a solution.
Simply said i would like a better quality shadow which stays dynamic.

Yes, that is an effect of the type of shadows Unity uses, which is also visible in other games that use the same system. There are more advanced techniques which improve the look, but you rarely get anything for free, so probably there are tradeoffs (slower, more memory usage, or similar). There are also different techniques that don’t result in any pixelation at all (stencil shadows for example), but they have other problems.

–Eric

I’ll be the first person to admit that Unity’s shadows aren’t perfect, but to me the shadows in that shot look ok… take a look at some dynamic shadows from other games:

GTA 4:

Crysis:

S.T.A.L.K.E.R:

Getting soft dynamic shadows to work perfectly in large open environments always requires some compromise. I’m not making excuses for Unity, I’m just saying your expectations for a one click solution to perfect shadows might be a little unrealistic.

Actually most of those games even fake it. They use low distance lights so they don’t get the “projection” too large / bleed through objects potentially (HL2 shows that to a very high degree)

True, well i never said the unity shadow was actualy bad, i was just wondering if there is a way to get a better looking effect. I will soon see what i can do with some shader rewrites. If that doesn’t work i will stick to this ^^.

Thanks anyway , greets jorisshh

Maybe have a cookie on your main light? And then maybe a separate stop light attached to your character?