For iPhone game development, I switched from PNG format to PVRTC format for the sake of performance. But PVRTC compression is ruining the quality of the images.. I am using spritesheets with transparencies for the character animations.. and the pvrtc makes the edges look muddy around the character near the transparencies.
I read that pvrtc cant handle edges and all.. b开发者_如何学Cut is there a solution to it? Can we do something to these images whereby atleast there wont be these muddy boundaries around the character..
Sankar
Thanks for the comments. Actually I used this tool called PVRTexTool from Imagination Technologies. And that seemed to help a lot. This tool allowed a pre-processing in which I used the option of Bleed Texture with RGB being (0,0,0) over the PNG file and then created the PVR using that.. The resulting PVR had much better quality..
Of course it is not as perfect as PNG, but.. you cant have the cake and eat it too..
Sankar
PVRTC is a lossy compression algorithm -- it will cause compression artifacts. If you can't or don't want to deal with that, don't use it. See if you can't find other places in your game to optimize instead.
精彩评论