Reputation: 14066
I have a big texture, 256*256 there is 64*64 pixel textures on it. How I can cut it, and use as a texture?
Upvotes: 0
Views: 516
Reputation: 56357
Just draw with the correct texture coordinates, for example, to draw a quad from (0,0) to (64,64) from the texture, use texture coords (0,0) to (64 / 256.0, 64 / 256.0)
Upvotes: 4