Revert "Rollback to previous package. evas_1.0.0.001+svn.62695slp2+build31"
[framework/uifw/evas.git] / src / modules / engines / gl_common / shader / filter_sepia_bgra_nomul.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         vec3 inp = texture2D(tex,tex_c.xy).rgb;
10         gl_FragColor.r = dot(inp, vec3(.393, .769, .189));
11         gl_FragColor.g = dot(inp, vec3(.349, .686, .168));
12         gl_FragColor.b = dot(inp, vec3(.272, .534, .131));
13         gl_FragColor.a = texture2D(tex,tex_c.xy).a;
14 }