diff options
author | hwc487 | 2012-02-01 13:05:32 -0800 |
---|---|---|
committer | hwc487 | 2012-02-01 13:05:32 -0800 |
commit | b2ce8b819cc85a558d862c04965b7e65a6ce8640 (patch) | |
tree | 520fb12c07ba78f93d22f693369db45248c448d1 /assets/shaders/Basic.frag.glsl | |
parent | aa1b4b78d9e1b9cc15529dbf7196b7ac8a88e260 (diff) | |
download | ninja-b2ce8b819cc85a558d862c04965b7e65a6ce8640.tar.gz |
changes to allow minimal rendering ofnon-animated materials.
Diffstat (limited to 'assets/shaders/Basic.frag.glsl')
-rw-r--r-- | assets/shaders/Basic.frag.glsl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/shaders/Basic.frag.glsl b/assets/shaders/Basic.frag.glsl new file mode 100644 index 00000000..a2c21afa --- /dev/null +++ b/assets/shaders/Basic.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 | |||
13 | uniform vec4 color; | ||
14 | |||
15 | void main() { | ||
16 | gl_FragColor = color; | ||
17 | } | ||