Last active
November 10, 2021 03:16
-
-
Save behreajj/2492ace45110641898a2fb7115f0a5ad to your computer and use it in GitHub Desktop.
HSV Gray
This file contains hidden or 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 GrayHsv (in Color c) | |
{ | |
return Mathf.Max (c.r, c.g, c.b); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment