()
| 480 | // ============================================================ |
| 481 | |
| 482 | function setupGround(): void { |
| 483 | // Ground plane — sy=0.1 ≤ 0.3, so placeCube auto-disables cast_shadow. |
| 484 | placeCube(0, -0.3, 0, 120, 0.1, 120, 0.25, 0.27, 0.22, 0.85, 0.0); |
| 485 | |
| 486 | // Bright sphere high up — tests tone mapping / bloom when those land |
| 487 | placeSphere(0, 20, -10, 3.0, 5.0, 4.8, 4.0, 0.1, 0.0); |
| 488 | |
| 489 | // Dark reference sphere (test shadow/AO in crevices) |
| 490 | placeSphere(10, 0.5, 10, 1.0, 0.02, 0.02, 0.02, 0.9, 0.0); |
| 491 | |
| 492 | // Mid-gray reference (linear 0.18 — 18% gray card for exposure) |
| 493 | placeCube(12, 0.75, 10, 1.5, 1.5, 0.1, 0.18, 0.18, 0.18, 0.9, 0.0); |
| 494 | } |
| 495 | |
| 496 | // ============================================================ |
| 497 | // Zone 7: glTF Reality Check (DamagedHelmet) |
no test coverage detected