prosperon/source/shaders/shadowfrag.glsl
2023-05-12 18:22:05 +00:00

9 lines
137 B
GLSL

#version 330 core
out float frag_color;
void main()
{
// frag_color = encode_depth(gl_FragCoord.z);
frag_color = gl_FragCoord.z;
}