Warning, /plasma/kwin/src/plugins/blur/shaders/noise_core.frag is written in an unsupported language. File is not indexed.
0001 #version 140 0002 0003 uniform sampler2D texUnit; 0004 uniform vec2 noiseTextureSize; 0005 uniform vec2 texStartPos; 0006 0007 in vec2 uv; 0008 0009 out vec4 fragColor; 0010 0011 void main(void) 0012 { 0013 vec2 uvNoise = vec2((texStartPos.xy + gl_FragCoord.xy) / noiseTextureSize); 0014 0015 fragColor = vec4(texture(texUnit, uvNoise).rrr, 0); 0016 }