Shadow Component Not Working With Sprite Renderer ?

Hi guys,

I want to use shadow script on sprite gameobject. I know it depends on Image component but i need to use this gameobject as a sprite. How can i get it working with Sprite component ?

6164676--674322--image12121.png

Yeah it won’t work with a sprite renderer. Shadow is a GUI element, and sprites… aren’t! you’ll need to find something else to achieve what you want. Maybe create another sprite behind the first one with a slightly larger scale, or just positioned slightly off, and make it pure black (or whatever color)

1 Like

I created two objects and solved it… Thanks :slight_smile: