Revert "Rollback to previous package. evas_1.0.0.001+svn.62695slp2+build31"
[framework/uifw/evas.git] / src / modules / engines / gl_common / shader / filter_greyscale_bgra.shd
1 #ifdef GL_ES
2 precision highp float;
3 #endif
4 uniform sampler2D tex;
5 varying vec4 col;
6 varying vec2 tex_c;
7 void main()
8 {
9    float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));
10    gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col;
11 }