disable depth testing on line shape

This commit is contained in:
casperlamboo 2017-11-23 16:18:20 +01:00
parent 27d65dc7d7
commit 2c399a1f0b

View File

@ -15,6 +15,7 @@ const ARROW_HELPER = false;
const HANDLE_SCALE = 0.125;
const LINE_HIT_DISTANCE = 5.0;
const lineMaterial = new THREE.LineBasicMaterial({
depthTest: false,
color: 0x72bcd4
});