Foreground Isolation
Orogen scenes can carry several semantic layers. By default every layer is drawn. To filter them, use the layerMask property. This is a bit mask, so for example, to draw only the foreground layer, set layerMask = OrogenLayers.FOREGROUND. To draw the foreground and the background together, set layerMask = OrogenLayers.FOREGROUND | OrogenLayers.BACKGROUND
import { OrogenLayers, OrogenSplats } from "@orogen/splats"; let splats = new OrogenSplats({ source: 'https://scan.orogen.dev/capture/7c41ba90-2f18-4de6-b0c7' }); scene.add(splats); splats.layerMask = OrogenLayers.FOREGROUND; splats.onLoad = () => { splats.captureCubemap(renderer).then((cubemap) => {