SHARE
TWEET

Untitled

a guest Dec 27th, 2014 145 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //VERTEX SHADER
  2.  
  3. #version 400
  4.  
  5. in vec2 vertexPos;
  6.  
  7. out vec2 coord;
  8.  
  9. void main() {
  10.     coord = 0.5f * vertexPos + 0.5f;
  11.     gl_Position = vec4(vertexPos, 0.0f, 1.0);
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top