mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 19:13:49 +01:00
disable depth testing on line shape
This commit is contained in:
parent
27d65dc7d7
commit
2c399a1f0b
1
src/d3/transformers/SculptTransformer.js
vendored
1
src/d3/transformers/SculptTransformer.js
vendored
@ -15,6 +15,7 @@ const ARROW_HELPER = false;
|
|||||||
const HANDLE_SCALE = 0.125;
|
const HANDLE_SCALE = 0.125;
|
||||||
const LINE_HIT_DISTANCE = 5.0;
|
const LINE_HIT_DISTANCE = 5.0;
|
||||||
const lineMaterial = new THREE.LineBasicMaterial({
|
const lineMaterial = new THREE.LineBasicMaterial({
|
||||||
|
depthTest: false,
|
||||||
color: 0x72bcd4
|
color: 0x72bcd4
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user