Skip to content

Instantly share code, notes, and snippets.

@hjhimanshu01
Last active July 7, 2019 10:19
Show Gist options
  • Save hjhimanshu01/f0ab32a519680c2b3ed7a172b4c6920d to your computer and use it in GitHub Desktop.
Save hjhimanshu01/f0ab32a519680c2b3ed7a172b4c6920d to your computer and use it in GitHub Desktop.
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