aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders
diff options
context:
space:
mode:
authorhwc4872012-04-18 15:44:26 -0700
committerhwc4872012-04-18 15:44:26 -0700
commitae7eb87564632ce7c676bd728b8ff2710ff0bb83 (patch)
tree43bced103fb7487222202777ff5bb29850776bef /assets/shaders
parent447268000c379f619c78d7132c81e23b5c252598 (diff)
downloadninja-ae7eb87564632ce7c676bd728b8ff2710ff0bb83.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Snapping_II
Conflicts: js/tools/Rotate3DToolBase.js js/tools/RotateStage3DTool.js js/tools/Translate3DToolBase.js js/tools/modifier-tool-base.js
Diffstat (limited to 'assets/shaders')
-rw-r--r--assets/shaders/Cloud.frag.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/shaders/Cloud.frag.glsl b/assets/shaders/Cloud.frag.glsl
index 3d466a24..3f858b7a 100644
--- a/assets/shaders/Cloud.frag.glsl
+++ b/assets/shaders/Cloud.frag.glsl
@@ -18,7 +18,8 @@ varying vec2 v_texCoord0;
18void main() 18void main()
19{ 19{
20 vec4 c = texture2D(u_tex0, v_texCoord0); 20 vec4 c = texture2D(u_tex0, v_texCoord0);
21 c.a *= u_surfaceAlpha; 21 //c.a *= u_surfaceAlpha;
22 if ((c.r == 0.0) && (c.b == 0.0) && (c.g == 0.0) && (c.a == 1.0)) c = vec4( 0.0, 0.0, 1.0, 1.0 );
22 gl_FragColor = c; 23 gl_FragColor = c;
23} 24}
24 \ No newline at end of file 25 \ No newline at end of file