PDA

View Full Version : texture coordinates



ugluk
01-21-2010, 02:54 PM
Hello! I'd like to know which textel is referenced by i=0, j=0. Is it the first textel pointed to by the data pointer? If so, then s = 0, t = 0 texture coordinates reference the first textel in the texture.

ZbuffeR
01-21-2010, 03:12 PM
Yes.

ugluk
01-21-2010, 11:02 PM
Hmm, then s=t=0 can reference the top left corner of the texture, if you feed GL "incorrectly" :)