ThreeRT is the first three.js-style engine to fully path-trace industry-standard scenes at 60 fps.1
Download ThreeRT · macOS · iPhone · Steam Deck · Android
Three, for the API you already know. RT, for the three things it adds.
Every light is traced: shadows, bounce light, reflections and glowing surfaces that light the room. No shadow maps, no light probes, no baking.
60 fps in production scenes, with the camera moving. Not a still that converges once you stop.
A game runtime, not only a renderer. Scene code and game logic run inside the engine, and the same scene runs as three.js in any browser.
Write a scene at tutorial size and leave every setting at its default. ThreeRT gives it sky light, soft shadows, bounce light and real reflections. Left: the same scene in three.js, as written.
The same scene file, run by both engines. three.js gets everything it has: shadow maps, image-based lighting and, on WebGPU, its own SSGI, SSR and TRAA. ThreeRT gets the scene.
Each scene’s own camera path, both engines in lockstep. ThreeRT holds 60 fps the whole way. Bistro is a recording of it doing so, every frame as it was drawn.2
Close-ups of the same frames. Left: three.js at its strongest. Right: ThreeRT.
Bistro’s string lights, shop signs and lamps light the square themselves, in their own colours.
The shop window and the wall lamp spill warm light across the facade and the pavement.
Zero-Day’s floor mirrors the machines and their lights, including the parts the camera never sees.
Each of Zero-Day’s small emitters adds its own light, highlight and shadow.
The path tracer (Rust and wgpu), the three.js-style scene API and the gameplay runtime are one repository, along with every comparison on this page and how it was measured. If it is useful to you, a star helps the next three.js developer find it.
One scene, one game. On hardware with ray tracing, the native client traces every light. On every other screen, the same scene opens in the browser as three.js.
Every light path traced, at 60 fps.
The same scene as three.js rasterization, in any browser or in-app WebView.
The web version isn’t a port. It is the same game, running as three.js.
OpenStrikeRT is a team shooter with every light traced: sun through the skylights onto a polished floor, the furnace’s glow, a muzzle flash that lights the hall for a frame or two. It is our first multiplayer game on threert.app.
Plays in ThreeRT 0.4.0 or newer · the browser shows a preview
Open it and you are in a match: the public room with the most players and a free place. Or start a private room and send its link.
Alone or offline, it is practice against bots on the same map.
TypeScript against @threert/scene, @threert/gameplay and @threert/net. No engine changes, no native code.
threert.app is where ThreeRT apps and games are published and found. A physics lesson, a jeweller’s counter, a flat you might buy, a museum hall: each has its own address. Open it in ThreeRT, traced on your GPU, or, where it has a three.js page, play it in this browser.
App · commerceJeweller’s WindowGold, diamonds and pearls, turning under the lightsjewellery.threert.app
App · architecture real estateDaylight HomeOne living room, from morning sun to lamplightdaylight-home.threert.app
App · educationColour LabRed, green and blue lamps; cyan, magenta and yellow shadowscolour-lab.threert.app
App · commerceBoutique ShowroomA shop to walk through, lit by its own spotsshowroom.threert.app
App · cultureSculpture GalleryA daylit museum room you can walk throughmuseum.threert.app
App · educationMoon PhasesOne Sun, one light: phases and eclipses, tracedmoon-phases.threert.app
App · educationRefraction BenchA straw breaks in water; a glass ball flips the arrowsrefraction.threert.app
$ threert publishyour-app.threert.appYours goes hereOne command publishes a project.
Publishing gives a project an address, a page in the catalogue and a package ThreeRT opens directly. It needs a GitHub account and nothing else.
A scene is a TypeScript module against @threert/scene: meshes, MeshStandardMaterial, lights, glTF models. The light is traced, not configured.
const ball = new Mesh(sphere, gold);
ball.position.set(0, 0.42, 0);
scene.add(ball);
return { scene, camera };threert publishIn the project’s directory. It packs the project, takes a cover from ThreeRT, uploads the files that changed and prints the address. In ThreeRT for macOS, Studio has a Publish button that does the same.
$ threert login $ threert publish
The first publish claims the name, first come, first served. Its address is the app’s page and the link ThreeRT opens. A game that uses @threert/net gets multiplayer rooms, and anyone can start their own project from yours with threert remix.
https://your-app.threert.app
Download ThreeRT · macOS · iPhone · Steam Deck · Android