Original Post
Hi. I'm having a problem with placing textures on textured quads. I load the texture I want to use, program compiles successfully, but the texture on the screen is deformed and some colors are missing. I'm using the custom vertex format: struct CUSTOMVERTEX { float x,y,z,u,v; }; I understand that u and v are texture coordinates and usually have the value of 0.0f or 1.0f. They seem to have effect on how the texture looks on screen, but I still can't get it right. I also tried to copy values from the tutorial I found on GD, but it didn't work. Any ideas?