gedeng/Shader/shadow.fs

7 lines
197 B
Forth
Raw Normal View History

#version 430
void main()
{
2021-05-21 22:38:40 +02:00
// The mean and the mean squared, which we need to calculate the variance
gl_FragColor = vec4(gl_FragCoord.z, gl_FragCoord.z * gl_FragCoord.z, 0.0, 0.0);
}