Created
July 7, 2019 10:18
-
-
Save hjhimanshu01/59fab834cf657884da59d9504fb3bdc4 to your computer and use it in GitHub Desktop.
fragment shader for line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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