Last active
July 7, 2019 10:19
-
-
Save hjhimanshu01/f0ab32a519680c2b3ed7a172b4c6920d to your computer and use it in GitHub Desktop.
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; | |
attribute vec2 position; | |
attribute vec2 normal; | |
uniform vec2 width; | |
void main(void) { | |
gl_Position = vec4(width * normal, 0, 0) + vec4(position,0,1); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment