diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd deleted file mode 100644 index 9c6c1d4..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd +++ /dev/null | |||
@@ -1,18 +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 | vec3 inp = texture2D(tex,tex_c.xy).rgb; | ||
14 | gl_FragColor.r = dot(inp, vec3(.393, .769, .189)); | ||
15 | gl_FragColor.g = dot(inp, vec3(.349, .686, .168)); | ||
16 | gl_FragColor.b = dot(inp, vec3(.272, .534, .131)); | ||
17 | gl_FragColor.a = texture2D(tex,tex_c.xy).a; | ||
18 | } | ||