← Back to Home

WebGPU Minecraft

Exploring WebGPU rendering.
Scroll down to play an interactive demo.

About This Project

This specialized WebGPU demo showcases advanced voxel rendering techniques directly in the browser. Utilizing compute shaders for occlusion culling and instanced rendering, it achieves high frame rates even with dynamic lighting and shadows.

Controls: WASD to Move, Space to Jump, Click to Mine/Place. E near Spider to ride. Scroll Wheel while on Spider to zoom.
Tech Stack: TypeScript, WebGPU, GL-Matrix, nodeJS.

Development Log

- Terrain Generation: Infinite chunk-based system with Perlin noise.
- Lighting: Day/night cycle with dynamic shadowing.
- Entity System: custom mechanics for spider riding and TNT physics.
- Performance: Optimized for maximum frame rates with compute shaders.
- Inverse Kinematics: Custom IK system for spider riding.