14/46proof of conceptReal-Time 3D Rendering

MirageReal-Time 3D Worlds, Finished in Unreal Engine

Real-time 3D worlds in the browser for decks, video and a game, and a flyable desktop world built in Unreal Engine 5.

In motion

Recordings and a render, no sound

What it solves

Real-time 3D usually means a game engine, a download and a specialist for each new use. This is one rendering engine that runs in any browser and is reused for presentations, video and a game.

How it runs

Seven steps, input to output

Goes inA scene: the world, its lighting, the camera path and the brand colours

  1. 01

    World

    Terrain, sky, water and buildings are built from data, with landmarks modelled in Blender by script and their light baked in Cycles.

  2. 02

    Light

    A time of day sets the sun, the sky and the colour grade, tinted from the brand.

  3. 03

    Camera

    Fixed stops with flights between them for a deck or a film, or a free camera for a game.

  4. 04

    Render

    three.js draws the frame, then bloom, ambient occlusion and light shafts finish it.

  5. 05

    Quality

    A short benchmark picks a quality level and steps down if the frame rate drops.

  6. 06

    Output

    One offline HTML deck, a recorded video or a live game in the browser.

  7. 07

    Unreal

    The same Blender models import into Unreal Engine 5, lit with Lumen, and ship as a desktop app you fly with mouse and keyboard; its controls are written in C++.

Comes outReal-time 3D in a browser: behind a deck, recorded as video or played as a game, plus a flyable desktop world in Unreal Engine 5

What it does

A real-time 3D rendering engine that runs in any browser, with nothing to install.

Landmarks are modelled in Blender by script on real map footprints, with their light baked in Cycles.

The same models import into Unreal Engine 5, where they become a real-time desktop app: Saadiyat Island at golden hour, flown freely with mouse and keyboard, with fly controls written in C++ and running at over 100 frames a second on a laptop GPU.

The engine lights a world for a time of day, moves a camera through it and holds the frame rate by choosing its own quality level.

It is used four ways: as a live world behind a presentation, built into one offline file.

As video, recorded from those scenes.

In a multiplayer browser game, which shares its rendering techniques.

And for the 3D scenes on this website.

Four decisions

What shaped the build

Built with

9 parts

three.js
the real-time renderer
Post-processing
bloom, ambient occlusion, light shafts
Blender · Python
models built by script, light baked in Cycles
Unreal Engine 5
a flyable desktop world of the same models, Lumen
C++
fly controls and soft limits for the Unreal app
GSAP
camera moves + slide builds
Auto quality
benchmarks, then holds the frame rate
esbuild
one offline HTML file
Browser smoke test
walks every stop