Last active
June 10, 2022 09:54
-
-
Save romainavalle/a0439d9ce5144baff5c42b61e444b249 to your computer and use it in GitHub Desktop.
duotone 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 g = greyscale(texture2D(tMap, uv).r; | |
vec3 finalColor = mix(colorA, colorB, g); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment