8 lines
86 B
GLSL
8 lines
86 B
GLSL
#version 330
|
|
|
|
out float fragdepth;
|
|
|
|
void main(){
|
|
gl_FragDepth = gl_FragCoord.z;
|
|
}
|