Try different semantic material

This commit is contained in:
2026-05-21 09:47:32 +02:00
parent c837a6e55f
commit fc4dd8af62
2 changed files with 5 additions and 3 deletions

View File

@@ -132,7 +132,11 @@ function loadNodes(nodes) {
*/
function createSemanticNode(model, id) {
// Default/highlight materials for semantic node
let matSemDef = ATON.MatHub.materials.semanticShape;
let matSemDef = new THREE.MeshPhongMaterial({
color: '#ecee66',
transparent: true,
opacity: 0.3,
});
let matSemHL = ATON.MatHub.materials.semanticShapeHL;
const semNode = ATON.createSemanticNode(id)