8 lines
92 B
GLSL
8 lines
92 B
GLSL
#version 150
|
|
|
|
out float fragmentDepth;
|
|
|
|
void main() {
|
|
fragmentDepth = gl_FragCoord.z;
|
|
}
|