Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 330
- // Ouput data
- layout(location = 0) out float fragmentdepth;
- void main(){
- // Not really needed, OpenGL does it anyway
- //fragmentdepth = gl_FragCoord.z;
- fragmentdepth = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement