Skip to content

Instantly share code, notes, and snippets.

@jmg-duarte
Created November 14, 2017 18:44
Show Gist options
  • Save jmg-duarte/fd8807ded73a3570ec5edc6b128aefea to your computer and use it in GitHub Desktop.
Save jmg-duarte/fd8807ded73a3570ec5edc6b128aefea to your computer and use it in GitHub Desktop.
precision mediump float;
varying vec4 fColor;
void main() {
// Since all the work is done at the vertex shader,
// simply pass along the interpolated color
gl_FragColor = fColor;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment