When I postion a sprite with subpixel accuracy I see artifacts around the bottom and right edges of the sprite. It’s as if its trying to average partial pixel values at the edge of the sprite with image data outside the edge of the sprite but is treating the image data that is outside the edge of the sprite as having non-zero alpha.
Is there a way to get cocos2d-x to not have these artifacts but to actually use subpixel accuracy?
I know I can just round to whole pixels but I’d like to actually use subpixel accuracy because I think it might make for smoother animation.
Will padding my sprites in the sprite sheet fix the problem? — I want to find out if this will actually fix it before trying this because I generate my own sprite sheets and it will be a little bit of work to implement padding. Does anyone know?