Overview
A real-time graphics playground built from scratch in DirectX 12 and C++20. It started as a game idea and turned into a renderer and shader sandbox - somewhere to try lighting, materials, texture techniques, GPU compute, and post-processing before any of it graduates into my main engine.
What I built
- DX12 core Swap chain, command lists, fences, RTV/DSV, and descriptor heaps, behind a thin memory wrapper over the pipeline.
- Assets Runtime model loading with Assimp (node hierarchy intact) and stb_image textures with a caching pool and contiguous SRV slots per submesh.
- Lighting Unlimited directional, point, and spot lights packed into a GPU structured buffer and rebuilt each frame, with distance culling for local lights.
- Texture techniques Normal and detail-normal (TBN), parallax height, displacement, ORM packing, AO, Blinn-Phong specular, emissive, and alpha cutout.
- GPU compute Runtime mip-map generation in a compute shader, cycling each mip between SRV and UAV for a 2x2 box downsample.
- Post-processing Render-to-texture into a full-screen pass with toggleable effects: exposure, gamma, vignette, chromatic aberration, film grain, mouse-driven radial blur, and more.
- Tooling ImGui editor UI and snapshot-based map saving.
Hard parts
- Keeping one sandbox flexible enough to bolt on new experiments without it becoming a full engine.
- Managing descriptor heaps and per-subresource state transitions by hand, especially for runtime mip generation.

