Change default env settings

This commit is contained in:
2026-05-21 10:35:59 +02:00
parent fc4dd8af62
commit 491371e495
3 changed files with 8 additions and 10 deletions

View File

@@ -27,11 +27,12 @@ export default class extends Controller {
content.classList.add('img-fluid');
}
body.appendChild(content);
const description = document.createElement('p');
description.textContent = event.content?.description;
description.classList.add('py-3', 'my-2', 'fst-italic');
body.appendChild(content);
body.appendChild(description);
bootstrap.Modal.getOrCreateInstance(modal).show();

View File

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