diff options
author | Nivesh Rajbhandari | 2012-02-22 11:00:20 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-22 11:00:20 -0800 |
commit | 96a0a8c916533eb5625816192ed38488f639326d (patch) | |
tree | a6283ee8c546419c3e79aa71c8e39c61d6dc34ed /assets/shaders/Taper.frag.glsl | |
parent | d2f4d5e5f6742d53b6324d585a700566f73c992a (diff) | |
download | ninja-96a0a8c916533eb5625816192ed38488f639326d.tar.gz |
Integrating canvas-2d drawing and WebGL fixes, including 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 | } | ||