Created
August 8, 2023 06:14
-
-
Save otanodesignco/8f2801f507ac2942a20e0380bfe54683 to your computer and use it in GitHub Desktop.
Negate function to simulate unity negate node in glsl
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
float negate( float value ) | |
{ | |
return -1.0 * value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment