Login  Register

Re: png's flipped vertically

Posted by Mike on Jul 07, 2012; 3:28am
URL: https://forum.jogamp.org/png-s-flipped-vertically-tp4025452p4025455.html

I did a little digging, and it turns out that the textures drawing upside down were returning 'true' for the method Texture.getMustFlipVertically(). So my solution is to check if the Texture objects need to be flipped and manually flip them before rendering.

Is there maybe a better solution than this? Why do the textures get loaded in upside down in the first place?

Thanks,
Mike