uniform sampler2D tex;
float rand(vec2 co){
return fract(sin(dot(co.xy ,vec2(92.,80.))) +
cos(dot(co.xy ,vec2(41.,62.))) * 5.1);
}
void main()
{
vec2 rnd = vec2(rand(gl_TexCoord[0].xy),rand(gl_TexCoord[0].xy));
gl_FragColor = texture2D(tex, gl_TexCoord[0].xy+rnd*0.05);
}
Original image

and processed with frosted glass filter

Great1 A perfect and lovely photo regarding on showing the advantage and purpose of frosted glass. hope to see more info about it. Thank you!
ReplyDelete