diff options
author | hwc487 | 2012-04-16 05:59:01 -0700 |
---|---|---|
committer | hwc487 | 2012-04-16 05:59:01 -0700 |
commit | c0aa5e88890fbf74124d019df96c33215da99f17 (patch) | |
tree | 9bff6d97cc19288b4d2c7bfd40a71f608b853fab /assets/shaders/Cloud.frag.glsl | |
parent | 8992d9baf542135e910bb59328a592d9e330703a (diff) | |
download | ninja-c0aa5e88890fbf74124d019df96c33215da99f17.tar.gz |
Cloud material
Diffstat (limited to 'assets/shaders/Cloud.frag.glsl')
-rw-r--r-- | assets/shaders/Cloud.frag.glsl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/shaders/Cloud.frag.glsl b/assets/shaders/Cloud.frag.glsl index ba1ef39e..c21dcf97 100644 --- a/assets/shaders/Cloud.frag.glsl +++ b/assets/shaders/Cloud.frag.glsl | |||
@@ -17,7 +17,8 @@ varying vec2 v_texCoord0; | |||
17 | 17 | ||
18 | void main() | 18 | void main() |
19 | { | 19 | { |
20 | gl_FragColor = texture2D(u_tex0, v_texCoord0) * u_surfaceAlpha; | 20 | vec4 c = texture2D(u_tex0, v_texCoord0); |
21 | //gl_FragColor = texture2D(u_tex0, v_texCoord0); | 21 | //c.a *= u_surfaceAlpha; |
22 | gl_FragColor = c; | ||
22 | } | 23 | } |
23 | \ No newline at end of file | 24 | \ No newline at end of file |