Game Development Community

Texturetransform

by Jendrik Posche · in Torque Game Engine · 06/11/2008 (8:15 am) · 2 replies

Hi All,

How do I do texture transforms? I need to have a texture that always have a certain fixed orientation in respect to the viewer, no matter the orientation of the object.

regards

#1
06/11/2008 (9:01 am)
In TGE, use:
glMatrixMode(GL_TEXTURE);
You can then do gl matrix ops as normal. There is more information here:

http://www.opengl.org/resources/faq/technical/transformations.htm
#2
06/17/2008 (3:46 am)
Thanks, but i need to do this in software, since im painting my own texture.