Commit 4c5f7c84 authored by Eskil Abrahamsen-Blomfeldt's avatar Eskil Abrahamsen-Blomfeldt
Browse files

Delete unused shader file

parent a248a4fc
#version 440
layout(location = 0) in vec2 qt_TexCoord0;
layout(location = 0) out vec4 fragColor;
layout(std140, binding = 0) uniform buf {
mat4 qt_Matrix;
float qt_Opacity;
vec2 step;
int radius;
};
layout(binding = 1) uniform sampler2D src;
void main(void)
{
vec3 sum = vec3(0.0, 0.0, 0.0);
for (int x = -radius; x <= radius; ++x) {
for (int y = -radius; y <= radius; ++y) {
vec2 c = qt_TexCoord0 + vec2(x, y) * step;
sum += texture(src, c).rgb;
}
}
fragColor = vec4(sum / ((radius*2 + 1) * (radius*2 + 1)), 1.0);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment