Guest User

inkspread.vert

a guest
Jul 19th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #version 150
  2.  
  3. uniform mat4 modelViewMatrix;
  4. uniform mat4 projectionMatrix;
  5. uniform mat4 textureMatrix;
  6. uniform mat4 modelViewProjectionMatrix;
  7.  
  8. in vec4 position;
  9. in vec4 color;
  10. in vec4 normal;
  11. in vec2 texcoord;
  12.  
  13. out vec2 fragCoord;
  14.  
  15. void main(){
  16.     fragCoord = texcoord;
  17.  
  18.     gl_Position = modelViewProjectionMatrix * position;
  19. }
Add Comment
Please, Sign In to add comment