kwin/effects/coverswitch/shaders/1.10/coverswitch-reflection.glsl

9 lines
172 B
GLSL

uniform vec4 u_frontColor;
uniform vec4 u_backColor;
varying vec2 texcoord0;
void main()
{
gl_FragColor = u_frontColor*(1.0-texcoord0.s) + u_backColor*texcoord0.s;
}