diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd deleted file mode 100644 index 5dca381..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11)); | ||
14 | gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col; | ||
15 | } | ||