Last active
November 10, 2021 03:15
-
-
Save behreajj/47def846b874b42d2657d6e513300fce to your computer and use it in GitHub Desktop.
Perceptual Luminance Incorrect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static float GrayLumIncorrect (in Color srgb) | |
{ | |
return 0.21264935f * srgb.r + 0.71516913f * srgb.g + 0.07218152f * srgb.b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment