noob / texture mapping

lets say I have a polygon thats 10 x 10

also I have a texture thats 1 X 1

how do I place that texture where I want it?

assume that I don’t want to tile the texture

what I’m reading says the poly coords and the texture coords must match? :confused:


There is no reason for vertex coords and texture coords to match.

You may place your texture anywhere on the larger polygon by using any numbers you like. Without repeats your texture will appear correctly where the numbers for s & t fall between the 0.0 -> 1.0 range. So chose vertex texture coordinates such that after interpolation the 0.0 -> 1.0 numerical ranges for s & t lie where you desire the texture to appear.