diegomb Hi guys, New user here - I'm loving Spine so far! I have only one enquiry. I finished my first animation and, after exporting, I noticed some pixelated edges around my character. What can I do to fix this? Kind Regards, Diego
diegomb Sure - I edited my original post to include the picture. You'll see the rough, pixelated edges mostly on the arms.
diegomb Looks normal on the original PNG files. I don't think I'm using meshes - it's my first animation and I'm not sure how to use that functionality yet. Sorry for the lack of information. Any guesses?
Nate When images are rotated or scaled it no longer maps 1:1 from the source image to the screen. Texture filtering is the process of choosing which pixels to show. In the Spine settings there is an option to disable Linear filtering. If you've unchecked that then the filtering won't do any averaging and results in pixelation. If you have it checked, I'm not sure why it looks that way. You could email your project and I can take a look. contact@esotericsoftware.com
diegomb I checked my settings and Lineal Filtering is currently on. I'll email you the project so you can check it personally. Thank you, Nate!
Nate Thanks. The reason is that you images have opaque pixels along the edge. Due to the way OpenGL texture filtering clamps edge pixels, you need 1-2 transparent pixels around the edge so they can be averaged and result in a smooth edge.
diegomb I see. The thing is, I exported it using the script that comes with Spine. How should I export it in a way that leaves 1-2 transparent pixels around each object? Thanks, Diego
Nate Ah. I've updated the script to have a padding setting: https://gist.github.com/NathanSweet/c8e ... 9dedd56e8c Can you report if 1 pixel of padding is sufficient to fix the problem? If it requires 2 pixels then I'll change the padding default.