11 lines
138 B
GLSL
11 lines
138 B
GLSL
#version 330
|
|
precision highp float;
|
|
|
|
|
|
layout(location = 0) out float fragmentdepth;
|
|
|
|
void main(void)
|
|
{
|
|
fragmentdepth = gl_FragCoord.z;
|
|
}
|