Warning, /plasma/kwin/src/plugins/blur/shaders/noise.frag is written in an unsupported language. File is not indexed.
0001 uniform sampler2D texUnit; 0002 uniform vec2 noiseTextureSize; 0003 uniform vec2 texStartPos; 0004 0005 varying vec2 uv; 0006 0007 void main(void) 0008 { 0009 vec2 uvNoise = vec2((texStartPos.xy + gl_FragCoord.xy) / noiseTextureSize); 0010 0011 gl_FragColor = vec4(texture2D(texUnit, uvNoise).rrr, 0); 0012 }