Renderer
A sample-accumulated renderer with fog, reflections, transmission, render passes and EXR output.
The renderer produces a finished image from the scene. It accumulates samples into an HDR target, then resolves the result with ambient occlusion, bloom, depth of field and tone mapping.
Sun and sky lighting cast soft shadows. Lights can be grouped, and up to 64 light objects are supported. Height fog scatters light from the sun and from every light object, which gives the shafts through windows and the halos around candles. Final renders also reflect the scene, refract through glass and water, and show subsurface scattering on thin surfaces.
Renders can be written as PNG or OpenEXR. The EXR output contains depth, normal, object ID, Cryptomatte and up to four light groups, so a render can go into a compositor. Animations render to MP4, a PNG sequence or an EXR sequence.
Candlelit Sanctum and Drowned Cathedral were built to test the renderer. Both use scanned CC0 assets from Poly Haven, credited in the project files. Drowned Cathedral has about 250k faces, 40 materials, 12 lights and 7 cameras.
The 10-second Candlelit Sanctum render is on YouTube.