Guest User

Untitled

a guest
Jun 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. // Fragment Shader – file "minimal.frag"
  2.  
  3. #version 130
  4.  
  5. precision highp float; // needed only for version 1.30
  6.  
  7. in vec3 ex_Color;
  8. out vec4 out_Color;
  9.  
  10. void main(void)
  11. {
  12. out_Color = vec4(ex_Color,1.0);
  13.  
  14. // Try replacing the above with the following:
  15. //vec3 tmp_Color;
  16. //tmp_Color = ex_Color.rrr;
  17. //out_Color = vec4(tmp_Color,1.0);
  18. }
Add Comment
Please, Sign In to add comment