Warning, /plasma/kwin/src/plugins/screentransform/shaders/crossfade_core.frag is written in an unsupported language. File is not indexed.

0001 #version 140
0002 
0003 uniform sampler2D previousTexture;
0004 uniform sampler2D currentTexture;
0005 uniform float blendFactor;
0006 
0007 in vec2 texcoord0;
0008 
0009 out vec4 fragColor;
0010 
0011 void main()
0012 {
0013     vec4 previous = texture(previousTexture, texcoord0);
0014     vec4 current = texture(currentTexture, texcoord0);
0015     fragColor = mix(previous, current, blendFactor);
0016 }