So I have a big 256x256 for my font. and I was wondering how i would get smaller sub textures from this one big texture?
Use texture coordinates… The range covers [0, 1], so just use values inside of that to reference a subset of the texture.
So I have a big 256x256 for my font. and I was wondering how i would get smaller sub textures from this one big texture?
Use texture coordinates… The range covers [0, 1], so just use values inside of that to reference a subset of the texture.