Advertisement
Guest User

VertexShader

a guest
Nov 24th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #version 150 core
  2.  
  3. in vec4 in_Position;
  4. in vec4 in_Color;
  5.  
  6. out vec4 pass_Color;
  7.  
  8. uniform mat4 transform;
  9.  
  10. void main(){
  11. gl_Position = in_Position * transform;
  12. pass_Color = in_Color;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement