7 lines
109 B
GLSL
7 lines
109 B
GLSL
|
|
void main()
|
|
{
|
|
// no color output, only depth (line below is implicit)
|
|
// gl_FragDepth = gl_FragCoord.z;
|
|
}
|