gedeng/Shader/shadow.fs
2021-05-23 20:09:21 +02:00

9 lines
215 B
GLSL

#version 430
out vec4 FragColor;
void main()
{
// The mean and the mean squared, which we need to calculate the variance
FragColor = vec4(gl_FragCoord.z, gl_FragCoord.z * gl_FragCoord.z, 0.0, 0.0);
}