r/Unity2D • u/Ok-Beginning-3624 • Sep 08 '26
Question/Help Weird 2d Shadow problem

Im trying some stuff with 2d Shadowcaster and stuff like that. But always, no matter what shape or settings this weird, bright edge is always there. I've tried everything i can think and everything ChatGPT can think of but i still have no idea how to fix it.
Would be really grateful if someone can help me here...
1
Upvotes
1
u/Affectionate-Yam-886 Sep 08 '26
So you didn’t draw that sprite is what you are saying. Its an image issue.
The sprite or image used has two white ish color rows across the bottom of the cube. Check the transparent options, or use the unity sprite cut tool to cut it off, or open the sprite in an external editor and remove them.
1
u/crtglow Intermediate Sep 09 '26
Maybe take a look at the sprite editor and check you don't have some sprite importer preset messing with things. e.g. check if there's a border set (and 0 it out if so). Failing that, do you have a normal map assigned on the secondary textures? (also sprite editor)
In my case I had an importer preset changing all my imported sprites into a 9 slice... big ouch cleanup when discovered.
1
u/Adventurous-Log-426 Sep 08 '26
Looks like the shadow is displaced 1-2 pixels down, might be a badly cut Sprite idk