Hi! A month ago, I posted my clothing design tool here and received a few feature requests: custom character uploads, low-poly exports, skinned meshes, normal map baking, etc.
I've implemented all of them!
I've also added multi-layer clothing simulation and a ChatGPT plugin (MCP) that can create sewing patterns and generate textures.
The simulation module and GLB/FBX exports are free.
App combines both libraries - Three.js and Babylon.js.
Thanks for all the previous feedback! I'd love to hear how it runs on your device and what you'd improve next.
Hey r/threejs! A while back I shared Click-to-Source 3D, a Vite plugin that lets you click any mesh in a three.js or React Three Fiber scene and jump to the line of code that made it. It's now past 8,000 npm downloads, so thank you to everyone who tried it and sent feedback.
v0.2.1 is out, and it's focused on the part that comes after finding where something was made: finding the bug.
What's new
Used in: select a mesh and see every line in your project that touches it, not just where it was created. It follows the object through variables, class fields, refs (meshRef.current in useFrame) and helper functions across files, and marks which lines run every frame, on an event or on a timer.
Live values: watch the selected object's position, rotation, material values, uniforms like uTime and more change in real time, each with a little graph and a link to the line that writes it.
Pause, rewind and step: a video-style player on the canvas. Pause the whole scene, scrub back through the last 10 seconds, step frame by frame, then play on from where your app really was. Great for catching that one frame where something jumps.
Segment advice: for spheres, cylinders and the like, it tells you how many segments the object actually needs at its size on screen ("6,016 triangles · 28 is smooth at 66 px"), with a button to apply it.
Device info for AI assistants: if you use Claude Code, Cursor or VS Code over MCP, your assistant can now see your CPU, RAM and GPU and what the scene costs, so it stops adding things your machine can't handle.
Security and fixes: safer saving back to source, a hardened dev server, and a fix for particles (like dust in light shafts) stealing clicks from the objects behind them.
Setup is one command, with no imports or components to add to your code:
npx click-to-source-3d init
It works with plain three.js and React Three Fiber on Vite, and it's dev-only, so nothing ends up in your production build.
Limits, to be upfront: it's Vite only for now (webpack and Next.js are on the roadmap). The rewind replays object positions; it doesn't run your code backwards, so physics and timers in your app aren't rewound.
I talked to Brice Deguigne, a self-taught dev on Réunion Island, about Bricelab. It started as him recreating the Animus loading screen from Assassin's Creed Shadows just because he liked it, and slowly turned into his portfolio.
We talked about the games that got him into 3D, the Blender scenes he never finished (shown for the first time), the two months the project sat stuck, and the ChatGPT image that got him back into Blender the same day.
I recently watched the show and was mesmerized by the starting scene where Dunk buries Ser Arlan. I watched it a couple of times, and that made me want to recreate the location.
I started by finding references of the real location, Hen Mountain in the Mourne Mountains in Northern Ireland, along with its geo data. That gave me the terrain and the surrounding mountains. Then I asked Claude to make artistic changes to match what I wanted instead of keeping it an exact copy.
The oak tree is a model I found on Sketchfab. The horses are also from Sketchfab. It's a single model, copied and recolored to make several different horses. The grass is done with my own grass system.
I spent most of my time on the lighting and mood. With some post-processing, color grading and screen-space god rays it actually feels like you're standing there.
Everything here is heavily optimized. The whole scene, including all textures and geometry, comes to 5 MB. It runs at 60 fps at 1080p on my M1 Mac.
Fair roast yesterday, the thick neon tracer bars and flat grey sand really did look like Star Wars on a whiteboard.
Took the hit and spent the last 24h overhauling the visuals while keeping the 296 instanced 2-bone IK soldiers at 60fps:
- Killed the neon green/pink laser tracers and white arc tubes. Replaced them with thin copper-amber tracers (1-in-4 rounds) plus water splashes, sand kicks, and steel ricochet sparks
- Rewrote the surf/beach shaders: wet-to-dry tidal sand reflections, crater puddles, and multi-frequency English Channel waves with lacy foam
- Added a low-saturation bleach-bypass tone pass, coastal fog, contact AO blobs under obstacles/boats/troops, and moved the close-ups down to LCVP ramp eye level
Still WIP (and HUD is still Korean for now), does this read closer to a real WW2 beach landing or what's still sticking out?
(Modified CC models from Sketchfab: M4A3 Sherman by @tnikita CC BY 4.0, PaK 40 by @lossgraph CC BY-SA 4.0, infantry by @Crazydud & @britdawgmasterfunk CC BY 4.0; terrain/foliage Poly Haven CC0; audio Freesound CC0 & CC BY 4.0.)
Hey r/threejs! I've been building Voltane since 25 September: a full RC racing game that runs entirely in the browser on three.js (WebGPU), with Rapier for the physics and a Node server for online races. It's now in open beta.
The three.js side:
WebGPU renderer, also running on phones (Android, and iPhone/iPad in Safari)
Heat haze over the asphalt, grounds in relief and HDR output (our latest rendering update)
Real profiling and A/B runs instead of guessing, which is how most of the performance work got done
Opus 5.5 wrote the code; the cars come from Tripo3D, Blender was driven through MCP
Happy to dig into anything technical about shipping a game this size on three.js.
Latest updates:
License to Wreck: a brand-new Campaign opener that teaches you to break everything
12 languages: the game and the site now speak twelve languages
Garage unboxing: every car leaves its box its own way
22 title screens: every car gets its own poster
Hot air, relief and HDR: heat haze over the asphalt, grounds in relief and HDR output
Voltane in a few words:
21 RC cars to collect, unbox and upgrade
11 levels: the house, the garden, the attic, the bowling alley, the corner shop, the fun fair, the toy museum, the lagoon, and Maplewood by day, by night and under snow
59 tracks
A Campaign: 89 events and 7 rivals to beat, boss duels included
Online: quick race, ranked (Spark to Storm), dedicated servers, private lobbies with a code
Cross-play between PC, mobile and browser, split screen for two, even online
Physics you can wreck: dominoes, breakfast tables, flower pots, picket fences…
Gadgets to throw at your rivals, nitro, rocket starts, drifts, flips and big air
Time trials, ghosts, free roam and mini-games
Controller, keyboard and touch, free to play
It's in beta and plays in your browser, on PC (also on the Microsoft Store, with DLSS), Android, and iPhone/iPad in Safari. Steam is coming; no launch date yet.
In Arachnofobio II, dead creatures stay in the level and become geometry the player has to move around and over. The clip shows what happens to the same arena over the course of a run. I’d be curious how it feels on other machines once the floor starts filling up.
Started this project on 21 November, and developed until 25 November. With Fable 5.2 + Opus 5.5 plus Pixelfork GDK (WIP).
My game's name is Good Enough Racing Simulator - GERS. And looking for curious players for my game. If you are interested would love to send you an invite link to test and hear your valuable feedbacks.
Features:
- Designing your own track (endless possibilities for driving) - Place a gopro camera on the body (it has a realtime recording stream on the gopro screen) - Changing weather condition - 24HR day time change - Multiplayer - 2 players - Best / Last Lap Ghost Car - Endless mode: where the map is procedurally generated and never ends. - Running 30-60 FPS on browser - tested on Macbook M2 Pro, and 5070ti (laptop).
Roadmap: - Share your designed track with a link - Car damage and crash Simulation - Steady 60 FPS - Adding more cars - Letting players upload their own car (idk how to do it but it sounds fun) - Adding Different Car Engine Sounds
I hit a lot of problems on optimization side. Because threeJS r187 has some limitations for rendering certain shaders. Did a lot of tricks for vegetation (still don't like the result).
IMPORTANT NOTE: I'm a member of Pixelfork team. Not posting here to advertise the platform and telling you sign up and create your game. Because you will not be able to create this quality level game on the platform. Pixelfork GDK I used is not available yet. Just wanted to share my game with the community and hear some feedbacks.
https://theofs.vercel.app A flight simulator. it's all three.js + WebXR, with real satellite terrain, 240 Hz physics, and real 3D cockpits you can look around in, thoghts?
I’m experimenting with a series of animated comparisons called Argument Hunters. The finished episodes have narration, character scenes, moving cameras and big numbers that need to appear at the right moment. I’m looking at how to structure this kind of production properly in Three.js.
The creative workflow so far is ChatGPT for research and script development, Claude Code with Opus 5.5 for animation code, ElevenLabs for the voices and Suno for music. I direct and revise the output. Here’s one of our finished episodes for context: https://youtu.be/2NDyBGBPg7U
For those using Three.js for rendered films rather than an interactive app, how would you organise a nine-minute episode? One master timeline driving cameras, characters and text, or separate scenes for individual shots?
I’d particularly like to be able to jump straight to one shot, change its camera or lighting, and review it against the narration without disturbing the rest of the episode. Is there a structure or tool you’ve found reliable for that?
And from the viewer side, does this sort of code-animated comparison work for you? Curious what you’d change first in the example, especially the camera work and the way the facts are presented.
I’ve wanted to build this app for years. One detail I kept coming back to was scale. A 196 × 1200 mm plank and a 600 × 600 mm square can look pretty similar in a thumbnail until you see how many of each fit across a floor.
We built a material library around the options in the manufacturers’ catalogues. You can pick a design, explore its variations and finishes, and see which combinations of size and thickness it actually comes in. Right now most of the tiles come from Kajaria Ceramics and Somany Ceramics. I especially like the range in their collections, from narrow matte planks to polished floral tiles.
I’m happy with how it turned out. Curious what you all think of the preview. Is it easy to get a feel for the size of each tile from the video?
TL;DR: I made ThreeNative, a free, MIT game engine built around the Three.js API your coding agent already knows. You write normal Three.js, and an owned C++ engine renders it in the browser (WebAssembly on WebGPU), on desktop (Windows, macOS, Linux) and on Android. The 3D never renders inside a WebView.
The agent starts from a playable kit, gets assets through an MCP, and must play its own game before it can say "done."
Three.js is great for AI: models know the API cold, there is no proprietary editor fighting your git diffs, and a link plays the game. But it is a rendering library, not a game engine.
You rebuild everything a game needs, for every game. Where is your LOD? Your world streaming? Your game is now 500 MB: do you stream assets, or do players sit on a loading screen forever, and quit? It also stays in a browser tab, frame rates fall once the scene gets heavy, and every new session the agent rewrites the game loop, guesses the physics glue and breaks the HUD.
ThreeNative keeps the API and adds the engine:
Small scene sample.
ctx.scene is a real THREE.Scene, so most Three.js code and tutorials your agent knows still work.
defineGame wires the game loop, input, Rapier physics (CharacterBody3D, RigidBody3D) and a React HUD out of the box. In native games, you can use a Native HUD, without an webview (or still use React HUD, but that particular section will need to be wrapped in a webview, not the entire game)
LOD, world streaming and asset streaming are built in.
It merges and instances meshes for you
If a feature is missing, write vanilla Three.js.
Not supported on the C++ engine: raw GLSL (ShaderMaterial, onBeforeCompile) and three's postprocessing addons. Use TSL node materials, or set engine: "threejs" to run stock Three.js on the web. No React Three Fiber yet.
Why not Godot, Unity or Unreal?
They are great engines, and for some games you should stay there. Here is why I'd build AI games on ThreeNative instead:
It's CLI based. No editor to install. Unreal is tens of gigabytes before you write one line. Unity wants a hub and an editor. Here the whole project is an npm install, and your agent never waits for an editor to open.
Your agent works in plain text it already knows. TypeScript and the Three.js API are all over its training data. Unity scenes and prefabs are YAML full of GUIDs. Unreal 5.9 Preview adds an official MCP so agents can drive the editor, but Blueprints and levels are still binary .uasset files that an agent cannot read or diff, and the editor must be running. Godot keeps scenes as text, but in my experience agents write much better TypeScript than GDScript.
The agent closes its own loop. The playtests run from the command line, with no editor window to click. The agent presses real keys on the real build, then checks game state, HUD, screenshots and frame time. The playtests fail closed, so "done" means it played the thing.
A link plays your game. The web is the main target, not an export option. Unreal's web export is back only as an experimental 5.9 Preview target that needs a C++ project and a source-built engine. The same code also builds a native desktop player.
Save, and the game updates in place. Vite hot reload is wired in every new project, and it keeps your game state and current scene. There is no C++ compile, no domain reload and no asset reimport between an edit and the result.
You stay on the web stack you already use. Chrome DevTools, the console, performance traces, npm packages and your normal editor. Your agent gets the same view through the Chrome DevTools MCP: screenshots, console errors and traces of the real frame.
MIT, no royalties, no revenue cap. Unreal takes up to 5% of gross revenue past $1M per game. Unity Personal stops at $200K a year in revenue and funding. Godot is MIT too, so this one is a tie with Godot.
Starter kits instead of a blank project. 27 genre kits (kart racer, platformer, FPS, stealth, survival horror and more) start with the mechanics, physics, HUD and passing playtests in place. Your agent spends tokens on your game, not on the game loop.
Stay on Godot, Unity or Unreal if you ship to consoles or iOS, you need AAA visuals today, your team works in a visual editor, or your game depends on raw GLSL shaders or a big asset-store plugin. ThreeNative is in beta, and those engines have years of tools that it does not have yet.
Dont-repeat-yourself: Starter kits!
ThreeNative takes a different approach from other engines. Whenever you ask your agent to start a new game, it looks for a relevant pre-built scaffold and builds on top of it (or starts with a minimal boilerplate, if it doesn't find anything). This has a few major advantages:
A more powerful agent has already built the core mechanics and validated everything through playtesting to make sure it runs smoothly.
Your agent doesn't start from scratch, so it doesn't waste a ton of tokens reinventing parts that, 70% of the time, barely change.
With those tokens saved, your agent can spend them where they actually matter: polishing the game, adding custom mechanics, playtesting, and making sure everything works properly.
Many starter kits variations for common game mechanics. If not found, there's a minimal scaffold fallback.
Assets!
Let's be honest... The gamedev asset ecosystem was not made for the web. You can find a ton of free assets on FAB, for example, but until now, you couldn't do anything with them (they use a specific unreal format). Now, our asset MCP:
searches and downloads from Poly Haven, Sketchfab, Fab (free and owned assets) and other sources
downscales oversized textures
simplifies heavy meshes behind a before/after render check
converts some Unreal and Unity packs you own to GLB (Works for 90%+ of the case. Some older Unreal versions may have issues with the conversion. WIP)
Licenses, the two things people ask first:
Yes, you can use Fab assets outside Unreal. Fab's Standard License allows any engine or tool, not only Unreal. Only legacy "UE-Only" content (old Marketplace packs, Megascans from the Unreal plan) is locked to Unreal, and the MCP refuses it.
It blocks non-commercial assets by default. Non-commercial (NC), no-derivatives (ND) and editorial licenses are refused unless the agent passes an explicit override. A listing whose license it cannot read is refused too.
Also:
Paper trail: when it runs from your game folder, each file gets a .license.json next to it, and the credit goes into your game's CREDITS.md.
You do not get a license prompt: the agent makes the call within these rules. Still read the licenses before you ship, because Sketchfab licenses vary per model. The MCP is experimental.
Publish it
A free place to publish your vibe-coded games, open to everyone, ThreeNative or plain Three.js: store.threenative.com
The ThreeNative games store, with Starlance featured
Who pays for this?
The engine is MIT and free, and it stays that way. The MCPs are free too. I also build ThreeNative Studio, a paid hosted builder where you make a game from a chat in the browser. That pays the bills. You need nothing from Studio to use the engine.
Beta: bugs will happen. Please report them on Discord.
PS: Not switching? You can still plug your Three.js project into the asset MCP and all the others.
You can pan and zoom, but I've also put in WASD view controls to let you explore. There's also POV options for riding the F Street Car and driving into the city on the Bay Bridge, which are also special places for me.
Absolutely no practical use to it, but I'm impressed by how far you can push browser 3D nowadays. I get a glimmer of emotion when I see some of the places here that have since closed, it's interesting to get that reaction from an artificial recreation in a browser.
I’m building Snack Engine for snackgamer.com using Three.js and WebGPU. This is the latest navigation test, with 1,200 rigged NPCs in the scene. Each has its own pathfinding and physics.
The goal is to make crowded spaces playable in browser games. In this test, you walk through the crowd looking for lantern bearers.
I've been building a browser version of the Royal Game of Ur (Mesopotamia, ~2500 BC) in three.js r128, and wanted to share some of the techniques. There are no model files and no image textures: the board, stones, pyramid dice, braziers and temple are all built from geometry in code, and the surfaces (wood, lapis, shell) are drawn on canvases at startup. The whole game is about 270 KB of code plus three.js.
Some things that might be interesting:
Rendering
- ACES Filmic tone mapping, PCF soft shadows from one directional light, and point lights in the braziers that flicker.
- Bloom and FXAA through EffectComposer, on the highest quality setting only. Phones default one level lower, and the lowest level turns off shadows.
- Particles (embers and dust) using Points.
Making it work on any screen
- The camera framing isn't fixed: it projects the corners of the board, trays and dice into screen space and moves in until everything fits between the top bar and the throw panel. Ultra-wide monitors get a tight frame; phones don't get a tiny board.
- Phones held upright: the camera turns 90° to look down the board's length, and the stone trays move beside the board, so the 3x8 board fills the width of the screen (squares go from ~36 px to ~45 px on a typical phone).
- Fog density is scaled by the camera's distance. A fixed density made the scene almost black on phones in portrait, where the camera sits much further back.
- Taps on touch screens snap to the nearest movable stone (or the square it would land on) within ~7 mm, since a fingertip is bigger than a stone seen from above.
Materials
- The stones were washing out under the overhead light. Switching from glossy to a satin finish (higher roughness, no metalness) fixed the bright patches without making them look flat.
Not three.js, but in the same spirit: the music is also made in code, with Web Audio. The lyre uses Karplus-Strong string synthesis.
Made with three.js: physical materials with environment reflections, plus custom shaders for the foil, holographic and glitter finishes. You can try it free here: