diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h deleted file mode 100644 index 50fbf12..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inp = texture2D(tex,tex_c.xy).abg;\n" | ||
14 | " vec4 sep;\n" | ||
15 | " sep.r = dot(inp, vec3(.393, .769, .189));\n" | ||
16 | " sep.g = dot(inp, vec3(.349, .686, .168));\n" | ||
17 | " sep.b = dot(inp, vec3(.272, .534, .131));\n" | ||
18 | " sep.a = texture2D(tex,tex_c.xy).r;\n" | ||
19 | " gl_FragColor = sep * col;\n" | ||
20 | "}\n" | ||