Skip to content

Instantly share code, notes, and snippets.

@hjhimanshu01
Created July 7, 2019 10:18
Show Gist options
  • Save hjhimanshu01/59fab834cf657884da59d9504fb3bdc4 to your computer and use it in GitHub Desktop.
Save hjhimanshu01/59fab834cf657884da59d9504fb3bdc4 to your computer and use it in GitHub Desktop.
fragment shader for line
precision mediump float;
uniform vec4 color;
void main() {
gl_FragColor = vec4(color.r, color.g, color.b, color.a);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment