My game allows you to spawn a box starting at 1x1x1, the texture is then applied and all looks well!
The second part of my game allows you to scale that box in any direction with any value (as lont as you dont go into negatives)
I can scale the box perfectly fine but how am I supposed to scale the texture properly if I can only effect it's horizontal & vertical scale value when the box is an odd shape like 4x4x6
X scale would be 4
Y scale would be 4
but that leaves our Z axis with an oddly streatched texture
How am I to go about fixing this? Do I need to look at each face and scale accordingly? but how??
Add me to your MSN!