Lighting and shadows for 2D sprites.
I want the sprite with transparency to accept shadows and light, but I can not find a suitable shader for rendering. In the screenshot, an example of rendering with Sprite Renderer and the Standard shader in the Cutout and Fade modes. In the first case, there is no tranparency; in the second, it does not accept shadow. Please help how to render the sprite correctly.
screenshot-2.png
(32.6 kB)
screenshot-1.png
(245.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Shader lighting not turning on 0 Answers
Android mobile lighting bug works fine in editor 0 Answers
2D Lights - Sprite is appearing black in the camera view. 1 Answer
Why is my point light breaking my sprite? 0 Answers
How to make headlight effects on a sprite? (Increasing emission of sprite material) 0 Answers