Try supporting transparent capes

This commit is contained in:
yushijinhun 2018-04-15 10:58:44 +08:00
parent 651c6b0592
commit 367a2e1023
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
1 changed files with 1 additions and 1 deletions

View File

@ -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();