Solis - Real-Time Rendering Engine
Solis, a Vulkan and DirectX 12 engine with GPU-driven geometry and ray-traced global illumination.
Solis is a personal Vulkan and DirectX 12 rendering engine I built to explore modern GPU rendering. Geometry is GPU-driven through a Nanite-style meshlet pipeline, with hardware ray-traced global illumination on top. The whole scene renders in a few indirect dispatches, with no heavy per-object work on the CPU.
Source code on GitHub: github.com/Vovan675/Solis
GPU-Driven Meshlet Geometry
At import time every mesh is split into small clusters called meshlets - about 64 vertices and 124 triangles each - and baked into a binary file with its full level-of-detail hierarchy. At runtime the GPU decides what to draw and at what detail, every frame.

Continuous LOD
Each mesh is preprocessed into a DAG of meshlet groups by repeated simplification. At runtime each group picks its own detail level based on how large it looks on screen, so detail changes smoothly across the model with no visible popping.

GPU Culling
Instances are expanded into per-meshlet work items on the GPU. Each meshlet is frustum, backface, and occlusion tested, and the survivors are written into an indirect draw buffer. There is no heavy per-object work on the CPU - the whole scene renders as a handful of indirect dispatches.
Two-Pass Occlusion
Last frame's depth (HiZ) is a good occluder for most of the scene, but it misses anything that just became visible. Two passes fix this: draw what was visible last frame, rebuild HiZ, then test and draw the newcomers against the fresh depth.


Streaming Beyond VRAM
Meshlet data streams in on demand. The GPU asks for what it needs while walking the LOD hierarchy, the CPU uploads it, and groups that go unused are evicted. A coarse root group per mesh stays pinned as a fallback, so the scene always renders even before fine detail arrives. One copy of NVIDIA's Zorah scene is about 10 GB as glTF and about 70 GB once baked into meshlets and LODs. The engine packs 25 copies into a single world and renders it using up to 1 GB of VRAM - everything else streams in and out on demand.

Ray-Traced Global Illumination
Real-time GI from a grid of light probes (DDGI). Each frame a fixed budget of probes shoots rays into the scene with hardware ray tracing, samples lighting at the hits, and writes the result into per-probe irradiance and depth atlases. The cost stays fixed no matter how big the scene is.


Probe Cascades
Probes are arranged in nested cascades around the camera. The inner cascade is dense for fine GI near the viewer; outer cascades are sparser and larger, so the same probe budget covers the whole scene without wasting density where it is not needed.

FrameGraph
Every frame is described as a graph of passes and resources. The engine schedules it, allocates transient resources, and inserts every layout transition and barrier automatically - renderers just declare what they read and write.

Also in the Engine
- Lighting - deferred PBR, directional and point lights, IBL (prefiltered specular, diffuse irradiance, BRDF LUT)
- Shadows - cascaded shadow maps, cube shadow maps, optional ray-traced shadows
- Path tracer - a reference path tracer used as ground truth
- Mitsuba bridge - export the scene to Mitsuba 3 and compare a frame against an external ground truth render
- RHI - one abstraction over Vulkan and DirectX 12, bindless
- Upscaling - NVIDIA DLSS via Streamline
- Tooling - Tracy CPU + GPU profiling, console variables, debug views
- Physics - PhysX integration
Plus SSAO, SSR, FXAA, and a procedural sky.

What's Next
- RTX Mega Geometry - reuse the meshlet clusters in ray tracing
- Per-pixel ray-traced GI - on top of DDGI
- Path tracer - more materials and NVIDIA NRD denoisers
- Upscalers - FSR and XeSS
- macOS - a Metal 4 backend
Source code and more on GitHub: github.com/Vovan675/Solis