r/threejs • • 6d ago

Demo Built a browser-based air combat game using three.js, WebGPU and real Himalayan terrain

Been experimenting with real-time graphics in the browser.

Some interesting bits:

- NASA SRTM terrain using GPU clipmaps

- Raymarched volumetric clouds

- Physically based sky

- GPU compute particles

- WebGL2 fallback

Built with AI coding agents over three months. All code is public.

Play: https://oss-web-3d.vercel.app

Code (MIT): https://github.com/2600th/oss-web-3d

118 Upvotes

5 comments sorted by

5

u/Ivanitop 6d ago

It looks dope!

Some notes: control with keyboard and mouse is pretty horrible, also the close terrain looks faded like with close fog but the far terrain looks nice. Keep the work.

3

u/BackPackMan8 6d ago

Wow, it is so cool!

2

u/Hot-Milk-3507 4d ago

amazing. I can't believe this is running on my browser... great work

2

u/jeffbeene 3d ago

Nice work! That terrain rendering is epic. Did you borrow the techniques from anywhere specific, and if so, mind sharing? (I made an A-10 sim and the terrain is pretty weak)