Advertisement
Guest User

shaders

a guest
Jun 4th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. -------- one.vsh ---
  2. #version 330 core
  3.  
  4. layout(location= 0) in vec4 vPosition;
  5.  
  6. void main() {
  7.     gl_Position = vPosition;
  8. }
  9.  
  10. -------- one.fsh ---
  11. #version 330 core
  12.  
  13. out vec4 fColor;
  14.  
  15. void main() {
  16.     fColor = vec4(0.0, 0.0, 1.0, 1.0);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement