glTexGen problem

Started by
0 comments, last by Cone83 21 years, 9 months ago
In my game I use automatic texture coordinate generation to draw a wall. Because the wall is on not even ground I just want to create the s coordinate automatically. I did it exactly like the red book told me: glTexGeni(GL_S,GL_TEXTURE_GEN_MODE,GL_OBJECT_LINEAR); const float texGenS1[4]={SOME_CONSTANT,0.0,0.0,0.0}; glTexGenfv(GL_S,GL_OBJECT_PLANE,texGenS1); It works fine on my system (Riva TNT graphics card) but I tried it today on a system with some ATI graphics card and there both coordinates were created automatically or (on the upper part of the wall) my assignments for the t coordinate were completely ignored. Because it''s hard to imagine here are some screenshots My system: http://balour.sourceforge.net/screenshots/shot5.jpg The ATI system: http://balour.sourceforge.net/screenshots/tex_bug.jpg I don''t know what''s wrong with it. Thanx Konstantin Schauwecker
Advertisement

Most likely a driver bug or simply not supported.

Try updating the ATI drivers, or maybe contact ATI (or the cards manufacturer) as to whether it is supported.

This topic is closed to new replies.

Advertisement