Jump to content


Question about luminance


2 replies to this topic

#1 Alienizer

    Member

  • Members
  • PipPipPipPip
  • 435 posts

Posted 06 June 2012 - 11:56 PM

Does this equation only for colors in the 0..1 range, or does it work for HDR as well?

Luminance = 0.212671 * Red + 0.71516 * Green + 0.072169 * Blue;

Thanks!

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 5309 posts
  • LocationSanta Clara, CA

Posted 07 June 2012 - 12:24 AM

It works for HDR colors too.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 Alienizer

    Member

  • Members
  • PipPipPipPip
  • 435 posts

Posted 07 June 2012 - 12:29 AM

Thank you Reedbeta.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users