Hey!
I need to set the texture position and size on a billboard from a
texture sized 256x256 since multiple sprites are on one material
so I tried playing around with the texture matrix but unfortunately
it seems to screw up all the other textures in my scene and causes
the program to crash on shutdown.
The structure that defines the sprite has an X, Y, Width and Height fields.
So how do I accomplish transforming the texture to the size and position I need?
Thanks!