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

13 lines
219 B
Text
Raw Normal View History

#version 140
uniform vec4 u_frontColor;
uniform vec4 u_backColor;
in vec2 varyingTexCoords;
out vec4 fragColor;
void main()
{
fragColor = u_frontColor*(1.0-varyingTexCoords.s) + u_backColor*varyingTexCoords.s;
}