luminance & intensity
A question:
What''s the diffrence between luminance & intensity in opengl?
I think the two are similar.
But,for instance,this is the description of a gl function from MSDN:
"void glCopyTexImage2D(
GLenum target,
GLint level,
GLenum internalFormat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border
);"
of which the argument "internalFormat" can be set to GL_LUMINANCE£¬GL_INTENSITY etc.
I only found a definition in the red book:
"luminance is the weighted sum of the red, green, and blue values ".
can anyone tell more?
thank you very much!
Download the spec and look it up!
http://www.opengl.org/developers/documentation/version1_5/glspec15.pdf
Look for GL_LUMINANCE and GL_INTENSITY in the index at the back.
Hint: compare their behaviors for alpha and RGB.
http://www.opengl.org/developers/documentation/version1_5/glspec15.pdf
Look for GL_LUMINANCE and GL_INTENSITY in the index at the back.
Hint: compare their behaviors for alpha and RGB.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement