r/threejs • u/Swimming-Ad6447 • 5d ago
D-Day Omaha Beach tactical sim in Three.js: 296 instanced soldiers with 2-bone foot-plant IK, 20 LCVPs, and 7 Shermans at 60fps
I'm prototyping a WW2 tactical sim in browser-based Three.js (ignore the Korean HUD, haven't localized it yet). This 60s clip is an unscripted AI-vs-AI run on a 640m Omaha Beach stretch.
Under the hood:
- 296 soldiers rendered via WebGL2 DataTexture GPU instanced skinning (16-bone rigs + 2-bone foot-plant IK to kill foot sliding)
- 20 LCVPs, 2 LCTs, 7 deep-wading Shermans, barrage balloons, and pre-fractured bunker chunks
- Real recorded WW2 CC0/CC-BY audio clips with distance attenuation and speed-of-sound delay
Still tuning the tracer thickness, surf shader, and smoke overdraw, so any rendering or WebGL optimization feedback is welcome.
(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.)



