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

10 lines
172 B
Text
Raw Normal View History

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;
}