From 367a2e10235c133c728d095647dcc13b7fefaf5d Mon Sep 17 00:00:00 2001 From: yushijinhun Date: Sun, 15 Apr 2018 10:58:44 +0800 Subject: [PATCH] Try supporting transparent capes --- src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index e370054..0940e6d 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -75,7 +75,7 @@ class SkinViewer { this.layer1Material = new THREE.MeshBasicMaterial({ map: this.skinTexture, side: THREE.FrontSide }); this.layer2Material = new THREE.MeshBasicMaterial({ map: this.skinTexture, transparent: true, opacity: 1, side: THREE.DoubleSide }); - this.capeMaterial = new THREE.MeshBasicMaterial({ map: this.capeTexture, transparent: true }); + this.capeMaterial = new THREE.MeshBasicMaterial({ map: this.capeTexture, transparent: true, opacity: 1, side: THREE.DoubleSide }); // scene this.scene = new THREE.Scene();