Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #version 330
  2.  
  3. // Ouput data
  4. layout(location = 0) out float fragmentdepth;
  5.  
  6. void main(){
  7. // Not really needed, OpenGL does it anyway
  8. //fragmentdepth = gl_FragCoord.z;
  9. fragmentdepth = 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement