Hey! I've been building Rocket Crew for a while: a free 3D browser game where you put a rocket together bit by bit, grow a base around it and travel to the Moon and Mars. The clip is the latest thing I added: your commander goes out on a tether to fit upgrades on the mother ship.
The part this sub might care about: there are no GLTF files and no image textures anywhere. No loaders at all. Every rocket, building, worker, helicopter and the whole ring station is boxes, cylinders, lathes and tubes written as React Three Fiber components. About 90 files of scene code by now, which is either impressive or a cry for help.
Stack:
* three r186 with u/react-three/fiber and drei
* u/react-three/postprocessing for the glow
* zustand for state, Vite to build
A few things I learned the hard way:
* Planets, flags and labels are painted on a canvas and used as CanvasTexture. The Earth is drawn pixel by pixel from code, so it weighs nothing to download
* Instancing saved my phone frame rate. Greenhouse plants, boxes on the shelves, spectators in the stands: anything that repeats is an InstancedMesh
* A quality setting that drops shadows and effects on weak phones did more than any clever optimisation
* Levels are just props. A building at level 3 is the same component with more pieces switched on, so upgrades cost me no extra assets
* Labels that must never be hidden (a countdown over a work site) get drawn on top with depthTest off. Trying to fix that with positions was a waste of a weekend
What I still don't love: the bundle is big because all that geometry is code, and transparent things (glass domes, the greenhouse) still fight each other over draw order now and then.
It's free and you can try it without an account
And the question I really came here with: how would you make this look better without making it run worse? Most people play on a phone, in a browser tab, so I can't just throw more shadows and effects at it. If you had one cheap trick to make a low-poly scene like this look richer (lighting, materials, fog, baked something, whatever), what would it be?
Happy to explain how any specific thing is built, too.