kwin/effects/cube/data/1.10/cube-reflection.glsl
2016-01-25 14:11:54 +01:00

8 lines
126 B
GLSL

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