kwin/effects/cube/data/cube-reflection.glsl
2011-01-30 14:12:02 +01:00

8 lines
140 B
GLSL

uniform float u_alpha;
varying vec2 varyingTexCoords;
void main()
{
gl_FragColor = vec4(0.0, 0.0, 0.0, u_alpha*varyingTexCoords.s);
}