switch to FrontSide only on slice/preview mesh for performance
This commit is contained in:
parent
7aa579f9ab
commit
b383ba7ace
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@
|
||||||
transparent: color.opacity != 1,
|
transparent: color.opacity != 1,
|
||||||
opacity: color.opacity || 1,
|
opacity: color.opacity || 1,
|
||||||
color: color.face,
|
color: color.face,
|
||||||
side: THREE.DoubleSide
|
side: THREE.FrontSide
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -255,7 +255,7 @@
|
||||||
transparent: color.opacity != 1,
|
transparent: color.opacity != 1,
|
||||||
opacity: color.opacity || 1,
|
opacity: color.opacity || 1,
|
||||||
color: color.face,
|
color: color.face,
|
||||||
side: THREE.DoubleSide
|
side: THREE.FrontSide
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue