Pipeline-first design
The renderer walks the scene, orders draw calls, shades geometry, depth-tests opaque fragments, fills scanlines, and uploads a framebuffer to the canvas. That makes the implementation usable as a library with inspectable rendering stages.
- Scene traversal
- Depth-aware draw ordering
- Light baking
- Scanline rasterization