Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

novas

luminance & intensity

This topic is 5492 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!