
Shopify Engineering · 4 min readJavaScript
Inside Shopify’s 2026 BFCM skate game
A browser‑based 4K 120 fps multiplayer skateboarding game was built for Shopify's BFCM live globe using three.js, React Three Fiber, WebGPU, and a custom physics pipeline. The post details performance tricks—uber shaders, KTX2 textures, virtual shadow mapping, and low‑draw‑call character rigs—to keep the 20 MB bundle smooth on desktop and mobile.
- WebGPU compute shaders enable on‑demand virtual shadow mapping with sub‑millisecond cost
- KTX2 compression and procedural shaders reduce texture load and draw calls for a sub‑20 MB game
- Merging character meshes into a single skinned mesh and using IK yields responsive animation with ~0.15 ms overhead