h2
05-25-2002, 05:43 AM
Hi,
I'm trying to sample normalization cube map in such way:
glSampleMapATI (GL_REG_2_ATI,GL_TEXTURE2_ARB,GL_SWIZZLE_STR_ATI);
But I obtain some crap (it looks just like cube maps texturing is disabled, but it is enabled!). I am pretty sure that the problem is in this shader (i.e. texture stages setup is correct) since when I'm doing same things in FF pipeline it works.
Does someone have an idea what is wrong? Your help is highly appreciated. I'm stuck with it for several days http://www.opengl.org/discussion_boards/ubb/frown.gif
[This message has been edited by h2 (edited 05-25-2002).]
I'm trying to sample normalization cube map in such way:
glSampleMapATI (GL_REG_2_ATI,GL_TEXTURE2_ARB,GL_SWIZZLE_STR_ATI);
But I obtain some crap (it looks just like cube maps texturing is disabled, but it is enabled!). I am pretty sure that the problem is in this shader (i.e. texture stages setup is correct) since when I'm doing same things in FF pipeline it works.
Does someone have an idea what is wrong? Your help is highly appreciated. I'm stuck with it for several days http://www.opengl.org/discussion_boards/ubb/frown.gif
[This message has been edited by h2 (edited 05-25-2002).]