diff options
author | Nivesh Rajbhandari | 2012-02-22 11:52:31 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-22 11:52:31 -0800 |
commit | d5b216d9d6d2b8cb93106e8f8ca351089d05b41d (patch) | |
tree | 657274b7efd3a930e4d3298ad6c245b975a8224b /assets/shaders/Taper.frag.glsl | |
parent | dae612ccef06a18eb7cccc2fd9d0db13ec4ef5f9 (diff) | |
download | ninja-d5b216d9d6d2b8cb93106e8f8ca351089d05b41d.tar.gz |
Integrating canvas-2d and WebGL drawing fixes. Also adding back WebGL materials.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'assets/shaders/Taper.frag.glsl')
-rw-r--r-- | assets/shaders/Taper.frag.glsl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/shaders/Taper.frag.glsl b/assets/shaders/Taper.frag.glsl new file mode 100644 index 00000000..3a5766fb --- /dev/null +++ b/assets/shaders/Taper.frag.glsl | |||
@@ -0,0 +1,17 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | |||
8 | #ifdef GL_ES | ||
9 | precision highp float; | ||
10 | #endif | ||
11 | |||
12 | //uniform vec4 color; | ||
13 | varying vec4 v_color; | ||
14 | |||
15 | void main() { | ||
16 | gl_FragColor = v_color; | ||
17 | } | ||