Created
December 28, 2019 10:12
-
-
Save scheibel/4857cd27170a23e3074eb6e641d7f434 to your computer and use it in GitHub Desktop.
The revelant excerpt of the further stripped-down shader
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 aastep(float t, float value) { | |
return step(t, value); | |
} | |
float tex(float t, vec2 uv) { | |
return aastep(t, texture(u_glyphs, uv)[channel]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment