PDA

View Full Version : Vertex Program Problem



EL dictator
06-11-2002, 01:30 PM
hello,

the instruction "MOV o[TEX0], v[tex0]" works with manually generated coordinates of a texture but not with automatic one.

Can you help me?(

(excuse my english)

NitroGL
06-11-2002, 01:56 PM
Because automatic texture coords are done with the T&L unit, it doesn't get passed to the vertex program (because the vertex program bypasses the standard T&L), so you have to generate them yourself (in the vertex program of course http://www.opengl.org/discussion_boards/ubb/smile.gif).

[This message has been edited by NitroGL (edited 06-11-2002).]

EL dictator
06-12-2002, 12:41 AM
ok,
thanks. http://www.opengl.org/discussion_boards/ubb/smile.gif