Warning, /plasma/kwin/src/plugins/screentransform/shaders/crossfade.frag is written in an unsupported language. File is not indexed.
0001 uniform sampler2D previousTexture; 0002 uniform sampler2D currentTexture; 0003 uniform float blendFactor; 0004 0005 varying vec2 texcoord0; 0006 0007 void main() 0008 { 0009 vec4 previous = texture2D(previousTexture, texcoord0); 0010 vec4 current = texture2D(currentTexture, texcoord0); 0011 gl_FragColor = mix(previous, current, blendFactor); 0012 }