v0.4.7: lampen niet meer door muren, buiten overdag gedimd, binnenspots feller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5ecf3e0c2a
commit
448c2b1289
+3
-1
@@ -336,7 +336,9 @@ function mountHouseEditor(container, callbacks) {
|
||||
if (parts && parts.lightingGroup) parts.lightingGroup.traverse(o => { if (o.userData.beam) o.visible = !lampsOn; });
|
||||
if (lampsOn && parts && lampenVisible) {
|
||||
const edge = dakVisible ? parts.roofEdge : null;
|
||||
lightsGroup = LightingModel.buildLights3D(parts.lighting.lamps, edge ? edge.spots : [], edge ? edge.top - edge.fasciaHeight : 0, parts.lighting.indoor);
|
||||
lightsGroup = LightingModel.buildLights3D(parts.lighting.lamps, edge ? edge.spots : [], edge ? edge.top - edge.fasciaHeight : 0, parts.lighting.indoor, {
|
||||
outdoorFactor: skyMode === 'night' ? 1 : LightingModel.DAY_OUTDOOR_FACTOR
|
||||
});
|
||||
scene.add(lightsGroup);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user