projects
/
framework
/
uifw
/
evas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b4dcc30dca5f821f7bba271294876f58180a9fa4
[framework/uifw/evas.git]
/
src
/
modules
/
engines
/
gl_common
/
shader
/
filter_greyscale_bgra_nomul.shd
1
#ifdef GL_ES
2
precision mediump float;
3
#endif
4
uniform sampler2D tex;
5
varying vec2 tex_c;
6
void main()
7
{
8
float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));
9
gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a);
10
}