Skip to content

Instantly share code, notes, and snippets.

@jmg-duarte
Created November 15, 2017 11:37
Show Gist options
  • Save jmg-duarte/17809232977de4cfde7aaf75f6f4579c to your computer and use it in GitHub Desktop.
Save jmg-duarte/17809232977de4cfde7aaf75f6f4579c to your computer and use it in GitHub Desktop.
precision mediump float;
varying vec4 fPosition;
void main() {
gl_FragColor = abs(fPosition);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment