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