

Part 1: caustics the engine can't render
The spots a disco ball throws on a wall are caustics: light bounced off thousands of small flat mirrors. Neither Lumen nor the Path Tracer can produce them. So I computed them offline in Houdini from the real mirror geometry, baked them into textures, and projected them back in Unreal through light functions on point lights hung under the ball. When the ball turns, the lights turn with it and every spot follows.
Tracing the mirrors
A Python SOP finds the 5,467 mirror faces on the ball and reflects the key light off each one. From the geometry alone it works out where each spot lands, how big it is at a given wall distance, how soft its edge is from the size of the lamp, and how bright it is. No spot is placed by hand. Each mirror is also given one of three colour groups, so the spots can be tinted red, green and blue independently.
A light function only knows direction, not distance, but spot size and brightness depend on how far away the wall is. The fix is to bake three layers, for walls at 40, 120 and 360 cm, each a 4096 × 2048 HDR with one colour group per channel. In Unreal the material blends between them by the log of the distance to the light.

Three ways to bake
I wrote the same spot model three ways and checked them against each other. The Copernicus version is the one to tune with: it updates live in the viewport and still matches the Python reference pixel for pixel.
| Method | Time per layer | Result |
|---|---|---|
| Python + NumPy | ~2.5–3 s, CPU | Reference |
| Copernicus Wrangle + pcfind | ~2–2.6 s | Matches the reference (PSNR ~100 dB) |
| Projection rasterize | ~6 s, GPU | Close but softer (correlation 0.955–0.985) |



In Unreal
Three point lights sit under the ball, one per colour channel. Volumetric fog turns their beams into visible shafts. On the ball itself, a mirror material uses the same reflection data, stored in the mesh UVs: a tile only flashes when the camera stands inside that tile's spot, so the glints on the ball always agree with the spots on the walls.



Technical notes: Baking disco-ball caustics for Unreal: three methods compared →
Part 2: flying the toy plane
Click the plane on the desk and the camera drops in behind it. Click again to start the propeller and the navigation lights, once more for full throttle, and then it's yours: W and S fly forward and back, A and D turn, and the height follows the mouse. Space flies it home.
The whole flow runs on one integer state. Clicks only move the state forward, so a stray click mid-flight does nothing.
| State | What happens |
|---|---|
| 0 · Idle | Room camera. Plane on the desk, lights off. |
| 1 · Ready | Camera cuts to behind the plane. |
| 2 · Warm-up | Propeller spins up slowly, lights start blinking. |
| 3 · Flight | Full speed. WASD and mouse control. |
| 4 · Return | Space: back to the room camera and the desk. One more click winds the propeller down to idle. |
Making it feel like flying
Nothing in the flight snaps. The propeller speed eases toward its target every frame, so it spins up and winds down. Forward input is smoothed the same way, which also keeps the chase camera calm. Forward motion ignores the plane's slight nose-up pose, so it doesn't slowly climb.
Climbing and diving moved from keys to the mouse: with a hand on WASD there's no finger left for two more keys. The mouse height relative to the centre of the screen becomes a climb rate, with a small dead zone so the plane can hold level.
The plane banks into turns and pitches with the climb, and the camera follows part of the pitch but none of the bank. The propeller spins around a scene component at its hub and the body pitches around one at its balance point, with the meshes offset beneath them.



The rest of the attic
The main light switch swaps the room between afternoon and disco night: the lantern gives way to the disco ball, the sky jumps from 15:25 to 23:00, exposure drops and the music changes. Around it, the light strip cycles its colours, the marquee letters change and tilt at night, the desk chair slides out, the desk lamp toggles, the floor mirror swings on its pivot, and the spring toy sways with a world position offset in its material.



Credits
Disco ball, caustics bake, Blueprints, lighting and set: Yichen Shi. Plane modeled in Maya; other assets made in Houdini.
Spring Toy Chair by ParkTaeAn (Fab). Sky: Ultra Dynamic Sky. Sound effects generated with Adobe Firefly.
GAME 710, Savannah College of Art and Design, Fall 2026.