Disable colors + restore clipping
This commit is contained in:
@@ -79,10 +79,12 @@ function loadNodes(nodes) {
|
||||
node.load(n.model);
|
||||
node.setRotation(...config.scene.initRotation);
|
||||
|
||||
/*
|
||||
node.setMaterial(new THREE.MeshPhongMaterial({
|
||||
transparent: false,
|
||||
color: n.color ?? '#fff',
|
||||
}));
|
||||
*/
|
||||
|
||||
// Apply any transparency before attaching to scene
|
||||
if (n.opacity !== undefined && n.opacity !== null) {
|
||||
|
||||
Reference in New Issue
Block a user