4 property alias cameraOne: cameraPerspectiveOne
5 property alias orbitCenter: orbitCenterNode.position
6 property real cameraHeading: 0
7 property real cameraTilt: 0
8 property real cameraZoom: 1500
9 property real lightsBrightness: 0.5
10 property real viewDistance: 50000
12 // Two directional lights maximum: mobile GPUs with small uniform buffers
13 // make Qt Quick 3D reduce the directional light limit to 2 and silently
14 // drop the rest ("Too many directional lights in scene, maximum is 2").
16 // Shadow-casting key light, shining straight down (scene is z-up)
23 lockShadowmapTexels: true
27 shadowMapFar: viewDistance
28 shadowMapQuality: Light.ShadowMapQualityHigh
29 softShadowQuality: Light.PCF16
32 // Slanted up/side fill so vertical faces and undersides aren't black
34 brightness: lightsBrightness
39 // Orbit camera rig: heading rotates around the scene up axis (z),
40 // tilt rotates around the local x axis, camera sits cameraZoom away
41 // looking back at the orbit center.
45 eulerRotation.z: cameraHeading
50 eulerRotation.x: 90 + cameraTilt
53 id: cameraPerspectiveTwo
55 position.y: cameraZoom
58 id: cameraPerspectiveOne
62 frustumCullingEnabled: true