Advertisement
Guest User

Untitled

a guest
Sep 15th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. //[VERTEX SHADER]
  2. #version 330
  3.  
  4. layout(location = 0) in vec3 position;
  5. void main()
  6. {
  7. vec3 invertedPos = position;
  8. invertedPos.y = -position.y;
  9. gl_Position = vec4(invertedPos, 1.0);
  10. //gl_Position = vec4(position, 1.0);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement