Advertisement
thomasfn

GL3: Shaders

Sep 1st, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. private static readonly string shdrDebugVertex =
  2. @"
  3. in vec3 inPosition;
  4.  
  5. void main()
  6. {
  7. //stdTransform();
  8. gl_Position = vec4( inPosition, 1.0 );
  9. }
  10. ";
  11.  
  12. private static readonly string shdrDebugFragment =
  13. @"
  14. out vec4 outColour;
  15.  
  16. void main()
  17. {
  18. outColour = vec4( 1.0, 0.0, 0.0, 1.0 );
  19. }
  20. ";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement