Skip to content

Instantly share code, notes, and snippets.

@hezhao
Created July 17, 2014 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hezhao/9fea3afe4bddfe10ba4c to your computer and use it in GitHub Desktop.
Save hezhao/9fea3afe4bddfe10ba4c to your computer and use it in GitHub Desktop.
#version 120
uniform sampler2D uSampler;
varying vec2 vUv;
void main()
{
// if ( !gl_FrontFacing ) {
// discard;
// }
gl_FragColor = texture2D( uSampler, vUv );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment