7 lines
197 B
GLSL
7 lines
197 B
GLSL
#version 430
|
|
|
|
void main()
|
|
{
|
|
// 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);
|
|
} |