Sunday, 18 August 2013

Getting a part of a texture: LWJGL

Getting a part of a texture: LWJGL

I have a big image (1024 x 1024 px) with a lot of icons. For the texture
on the quad I want to get the part of the image between x 128 y 64 and x
256 y 192. How can I do this?
Thanks a lot Thomas :D

No comments:

Post a Comment