kwin/effects/cube/data/1.40/cube-reflection.glsl
Martin Gräßlin c1486596fb GLSL 1.40 shaders for cube effect
Shaders are moved into dedicated directories 1.10 and 1.40. 1.10 contains
the already existing versions, 1.40 copies of them adjusted to GLSL 1.40.

REVIEW: 110571
2013-05-23 09:39:35 +02:00

11 lines
166 B
GLSL

#version 140
uniform float u_alpha;
in vec2 varyingTexCoords;
out vec4 fragColor;
void main()
{
fragColor = vec4(0.0, 0.0, 0.0, u_alpha*varyingTexCoords.s);
}