Compare commits

..

2 Commits

Author SHA1 Message Date
d37e72390d Fix config for salvador 2026-04-17 18:12:23 +02:00
7a6e084a97 Disable shadows for clipping plane 2026-04-17 18:12:08 +02:00
2 changed files with 4 additions and 3 deletions

View File

@@ -32,13 +32,11 @@ export const config = {
uri : `${BASE_URI}/scenes/salvador/`, uri : `${BASE_URI}/scenes/salvador/`,
popup: theater1Popup, popup: theater1Popup,
coords: [45.4363, 12.3352], coords: [45.4363, 12.3352],
nodes: [ nodes: {
{
label: 'Teatro', label: 'Teatro',
model: "teatro_san_salvador_20250926.gltf", model: "teatro_san_salvador_20250926.gltf",
isMain: true, isMain: true,
}, },
],
pano: `pano/gradient.jpg`, pano: `pano/gradient.jpg`,
}, },
{ {

View File

@@ -18,6 +18,9 @@ function createClippingPlaneMesh (boundingSphere) {
new THREE.MeshBasicMaterial({ color: 0xffff00, opacity: 0.05, side: THREE.DoubleSide, transparent: true }) new THREE.MeshBasicMaterial({ color: 0xffff00, opacity: 0.05, side: THREE.DoubleSide, transparent: true })
); );
mesh.castShadow = false;
mesh.receiveShadow = false;
return mesh; return mesh;
} }