- Home /
Sprites with shadows have uneven edges
I would like my sprites to cast shadows, but there is no shader that can render both shadows AND nice edges. Some shaders can render shadows (mobile/bumped diffuse - righ ball), but sprites have uneven edges, while others can render nice edges (sprites/default - left ball), but cast no shadow.
Is there any shader that supports both, or is there any fix? Thank you for any ideas.
Answer by JakaBg · Jun 22, 2016 at 05:13 AM
Have you tried to use static shadows (Secondary Sprites animated to match with the Primary ones)? or your game must have realtime shadows?
I had some blackout in thinking. At first I thought that for the rotating sprites I will need many shadow images to cover every position during the spin, but that is nonsense, one properly offseted shadow will be enough. So yes, this will be probably the most performant and acceptable solution, thank you.
Your answer
Follow this Question
Related Questions
Shadows being received by non-shadow collectors that are depth culled by a shadow collector. 1 Answer
Shadows with Alpha, fade out shadow. 2 Answers
Unity 5.4 - Sprite Shadow 0 Answers
Is it possible to change the shadow that is cast? 1 Answer
Custom Sprites/Diffuse shader w/ shadows not lighting properly 1 Answer