Previous Parts in This Series
Windowing & Pipeline Architecture
Loading Custom Geometry & WGSL Shaders
Implementing a 3D Camera System & Hot-Reloading Shaders
Implementing Depth Buffering and a Post-Processing Pass
Implementing Lighting Systems
HDRI Environment Lighting & Dynamic Shadows
Before jumping into the final pieces, a quick reflection on building this series: I leaned heavily on AI assistance to help write the Rust and WebGPU boilerplate across these seven parts, and the biggest lesson I learned is that AI only works if you strictly own the architecture. Without a clear hierarchy and decoupled modules, generated code quickly turns into a tangled mess you can no longer read or debug by hand. Keeping a clean structure is what lets me move fast with AI while still understanding every piece of how the engine works.
Almost all the core rendering features are finally ready to use.…