Created
May 24, 2017 08:16
-
-
Save maximiliancsuk/dc2e117a8f4ea86dcc22d5a6e12bbbce to your computer and use it in GitHub Desktop.
Vertex shader for glitch font
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
uniform mat4 u_projTrans; | |
attribute vec4 a_position; | |
attribute vec2 a_texCoord0; | |
attribute vec4 a_color; | |
varying vec4 v_color; | |
varying vec2 v_texCoord; | |
void main() { | |
gl_Position = u_projTrans * a_position; | |
v_texCoord = a_texCoord0; | |
v_color = a_color; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment