glTexImage[n]D[EXT]( ... ); glEnable( GL_TEXTURE_[n]D[_EXT] ); glPixelTexGenSGIX( { GL_NONE, GL_RGB, GL_RGBA } );
GL_PIXEL_TEX_GEN_MODE_SGIX GL_NONE GL_RGB GL_RGBA Red Green Blue Alpha S texture coordinate T texture coordinate R texture coordinate Q texture coordinate R G B A CRP's CRP's CRP's CRP's CRP's CRP's CRP's A R G B CRP's CRP's CRP's CRP's CRP's R G B A
GL_NONE GL_RGB GL_RGBA Red Green Blue Alpha S texture coordinate T texture coordinate R texture coordinate Q texture coordinate R G B A CRP's CRP's CRP's CRP's CRP's CRP's CRP's A R G B CRP's CRP's CRP's CRP's CRP's R G B A
GL_RGB GL_RGBA Red Green Blue Alpha S texture coordinate T texture coordinate R texture coordinate Q texture coordinate R G B A CRP's CRP's CRP's CRP's CRP's CRP's CRP's A R G B CRP's CRP's CRP's CRP's CRP's R G B A
GL_RGBA Red Green Blue Alpha S texture coordinate T texture coordinate R texture coordinate Q texture coordinate R G B A CRP's CRP's CRP's CRP's CRP's CRP's CRP's A R G B CRP's CRP's CRP's CRP's CRP's R G B A