Skip to content

Instantly share code, notes, and snippets.

@nickdarnell
Last active August 29, 2015 14:17
Show Gist options
  • Save nickdarnell/abdf16c9c82daf5f0130 to your computer and use it in GitHub Desktop.
Save nickdarnell/abdf16c9c82daf5f0130 to your computer and use it in GitHub Desktop.
void main()
{
gl_FragColor = gl_FrontFacing ? vec4(0,0,1,1) : vec4(1,0,0,1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment