Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. precision mediump float;
  2. attribute vec2 vertexPosition;
  3. varying vec2 position;
  4.  
  5. void main(void) {
  6. gl_Position = vec4(vertexPosition, 0.0, 1.0);
  7. position = 0.5 * (vertexPosition + 1.0);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement