- Home /
Artifacts in normal mapped sprite
Please help me! On sprite with normal map in game mode has some edges-artifactes, but in editor-mode it's all right. Target platform - android. The size of the sprite , and normal maps are identical.
Are your sprites in an atlas? What shader are you using? The normal map and sprite texture may be the same size, but it looks to be choosing completely the wrong UVs to unpack the normals.
Thank you for your response. Im using shader from this page and yes, sprites in an atlas.
And your bump map is laid out in exactly the same way as the sprite atlas?
hmm. So I'm guessing you're not using Unity's own sprite packer then (since, in my experience, exporting the atlas from that is a PITA!) but it shouldn't matter.
Wondering if the Android platform is significant... something to do with float precision, perhaps? Does a Windows standalone build work ins$$anonymous$$d?
Yes, i using Unity sprite packer and it was a mistake, the problem was there. Thank you so much!
Your answer
Follow this Question
Related Questions
Unity2D Tilemap Add Sprites with Normal Maps to tilePallet 2 Answers
Direction and Point Light light up opposite sides of object 0 Answers
Way to have 2D Sprites lit by Lights? 3 Answers
How to achieve this flat 2D lighting effect? 3 Answers
Unity 2D Shader Graph Sprite transparent when in shadow 0 Answers