kwin/effects/data/blur.vert
Rivo Laks 72f2d412c1 Add blur effect.
Blur effects blurs out background of translucent windows, thus improving e.g. readability of text in
  such windows.
I'll send a mail with couple of screenshots and more details to kwin list soon.

svn path=/branches/work/kwin_composite/; revision=658817
2007-04-28 15:13:28 +00:00

13 lines
207 B
GLSL

varying vec2 pos;
varying vec2 blurDirection;
attribute float xBlur;
attribute float yBlur;
void main()
{
blurDirection = vec2(xBlur, yBlur);
pos = gl_Vertex.xy;
gl_Position = ftransform();
}