I’ve been attempting 3D programming, and having some difficulty. I’m trying to create a textured cube using primitives, and I had followed a couple of tutorials/examples to successfully make a cube using VertexPositionColor. However, when I tried to do the same using VertexPositionNormalTexture and a simple blank texture, the shape draws, but the faces are no longer square, they’re rectangular. This is with using the exact same vertices and indices. Any ideas what might be going wrong?
EDIT: I realized what was going on; it was a foolish error and what I get for simply copying and pasting code. I was setting the projection matrix to have the wrong aspect ratio.