I was using a 256x256x256 bmp texture to map on a square and it works great.
But I have just tried with another texture (its size is not 256x256, but something like 300x200) and it doesn’t work.
Why? Because the texture is not a square ?
I’m using a LoadBmp function like the Nehe one.