From 1667488f93d1452f70beae2a5a58358545e3a2ad Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Thu, 23 Apr 2015 10:50:18 +0200 Subject: [PATCH] Transparency --- js/FixedCamera.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/FixedCamera.js b/js/FixedCamera.js index fedb2bb..f95fb0d 100644 --- a/js/FixedCamera.js +++ b/js/FixedCamera.js @@ -134,7 +134,7 @@ FixedCamera.prototype.update = function(mainCamera) { elt.material.transparent = new_value < 0.9; elt.material.opacity = new_value; - if (new_value < 0.05) + if (new_value < 0.1) elt.material.transparent = elt.visible = false; } });