72f2d412c1
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
13 lines
207 B
GLSL
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();
|
|
}
|