Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created May 11, 2019 18:45
Show Gist options
  • Save anarsoul/9e03b23740b067466e2f2edff180d3cf to your computer and use it in GitHub Desktop.
Save anarsoul/9e03b23740b067466e2f2edff180d3cf to your computer and use it in GitHub Desktop.
void main()
{
gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
if (gl_FragCoord.x < 15.0)
discard;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment