Advertisement
piepieonline

depthVertex.glsl

Oct 17th, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. //GL_VERTEX_SHADER
  2. #version 330 core
  3.  
  4. uniform mat4 projectionMatrix;
  5. uniform mat4 viewMatrix;
  6. uniform mat4 modelMatrix;
  7.  
  8. in vec4 in_Position;
  9.  
  10. void main() {
  11. gl_Position = projectionMatrix * viewMatrix * modelMatrix * in_Position;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement