gtk2/gsk/resources/vulkan/blur.frag.glsl
Matthias Clasen 7bb5b8df0b A somewhat working blur shader
This is a very direct implementation of a Gaussian blur,
without any optimizations.
2017-09-04 23:32:31 -04:00

14 lines
219 B
GLSL

#version 420 core
#include "clip.frag.glsl"
layout(location = 0) in vec2 inPos;
layout(location = 1) in float inRadius;
layout(location = 0) out vec4 color;
void main()
{
color = clip (inPos, vec4(1, 0, 0, 0));
}