gunslinger
02-18-2004, 01:27 AM
hi,
working on some code i came across the commands:
glTexImage3D(GL_TEXTURE_3D,0,GL_LUMINANCE8,width,h eight,horizon,0,GL_LUMINANCE,GL_UNSIGNED_BYTE,data );
and
glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i,0,GL_LUMINANCE8_ALPHA8,size,size,0,GL_LUMINANCE_ ALPHA,GL_UNSIGNED_BYTE,data);
just what is the GL_LUMINACE format? I tried to man it, but i couldn' understand the explanation... Can someone put it in plain english pls????
Thx the Gunslinger
working on some code i came across the commands:
glTexImage3D(GL_TEXTURE_3D,0,GL_LUMINANCE8,width,h eight,horizon,0,GL_LUMINANCE,GL_UNSIGNED_BYTE,data );
and
glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i,0,GL_LUMINANCE8_ALPHA8,size,size,0,GL_LUMINANCE_ ALPHA,GL_UNSIGNED_BYTE,data);
just what is the GL_LUMINACE format? I tried to man it, but i couldn' understand the explanation... Can someone put it in plain english pls????
Thx the Gunslinger