Skip to content

Commit afd82cb

Browse files
lower alphaTest for transparent parts
1 parent 2f667fb commit afd82cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/skin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function createCube(texture, width, height, depth, textures, slim, name, transpa
307307

308308
let geometry = new THREE.BoxGeometry(width, height, depth);
309309
let material = new THREE.MeshBasicMaterial({
310-
/*color: 0x00ff00,*/map: texture, transparent: transparent || false, alphaTest: 0.5, side: transparent ? THREE.DoubleSide : THREE.FrontSide//TODO: double sided not working properly
310+
/*color: 0x00ff00,*/map: texture, transparent: transparent || false, alphaTest: 0.1, side: transparent ? THREE.DoubleSide : THREE.FrontSide//TODO: double sided not working properly
311311
});
312312

313313
geometry.computeBoundingBox();

0 commit comments

Comments
 (0)