diff options
author | hwc487 | 2012-02-07 14:35:55 -0800 |
---|---|---|
committer | hwc487 | 2012-02-07 14:35:55 -0800 |
commit | 2d4da18a778471b02e188ad668752e331ee76127 (patch) | |
tree | d1aee0417e6e9ad0335c9e6232d49001a4e425ba /assets/shaders/Basic.frag.glsl | |
parent | 9d122c5f1632b1225a543049913c36b9a030110c (diff) | |
download | ninja-2d4da18a778471b02e188ad668752e331ee76127.tar.gz |
test code for deformation shader
Diffstat (limited to 'assets/shaders/Basic.frag.glsl')
-rw-r--r-- | assets/shaders/Basic.frag.glsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/shaders/Basic.frag.glsl b/assets/shaders/Basic.frag.glsl index a2c21afa..c1f9a5c8 100644 --- a/assets/shaders/Basic.frag.glsl +++ b/assets/shaders/Basic.frag.glsl | |||
@@ -11,7 +11,9 @@ precision highp float; | |||
11 | 11 | ||
12 | 12 | ||
13 | uniform vec4 color; | 13 | uniform vec4 color; |
14 | varying vec4 v_color; | ||
14 | 15 | ||
15 | void main() { | 16 | void main() { |
16 | gl_FragColor = color; | 17 | gl_FragColor = v_color; |
18 | //gl_FragColor = color; | ||
17 | } | 19 | } |