- Home /
My sprite has weird gray polygon background, what's wrong???
Okay so I've made an animation for my sprite and I applied a material with a mobile diffuse lighting thing to it, and then in started having this weird gray polygon thing behind it in every frame (though the exact shape varies a little in each frame) Here's a picture of what it looks like: https://drive.google.com/file/d/1MYeaLLhou5Im5IZY6l4OslyYkRr9NQjK/view?usp=sharing
Okay, I still haven't figured out what's wrong, but I've figured out that it renders fine if I set the material to sprite-default. That said though, I turned on wire frame mode out of curiosity, and even with the default sprite material, the wire frame is showing the polygon shape I described. I don't know if this is why, but I'll double check that there's no mistakes like semi transparent pixels in my sprite sheet that would cause this. I've also deter$$anonymous$$ed that the animation doesn't appear to affect it, except that the edges of the shape move around a little bit.
Answer by Lightning_A · Apr 27, 2019 at 11:16 PM
I think it was because I was using the wrong shader. I was using the mobile/diffuse instead of sprite/diffuse
Your answer
Follow this Question
Related Questions
Can I make animations snap to a frame? 1 Answer
How to animate a sprite mask? 0 Answers
Sprite on SpriteRenderer not keyframing? 1 Answer
weapon sprint animation problem... 1 Answer
How change sprite animation texture?? 2 Answers