HTrace: World Space Global Illumination
Grab your copy on the Asset Store and join our Discord and Twitter to get more news about upcoming features and updates!
Support us on Patreon and get access to our internal roadmap, discussion and latest WIP features!
HTrace is a fully dynamic software ray-tracing system for rendering diffuse indirect lighting with infinite light bounces.
HTrace doesn’t require any kind of baking or asset pre-processing and is designed to work out of the box with little to no tweaking.
Sponza Demo can be downloaded here.
Documentation is available here.
MAIN FEATURES:
- Full Integration into the Rendering Pipeline: automatic resource injection that doesn’t require manual setup or package customization. HTrace overrides native indirect lighting resources, ensuring compatibility with other rendering effects.
- Dynamic Lighting and Objects: HTrace supports fully dynamic environments where objects, materials, and lighting can be changed in real time. All moving objects, including skinned meshes, participate fully in global illumination, casting and receiving indirect lighting and shadows.
- Hybrid Software Ray Tracing: a two-stage tracing algorithm that leverages both screen-space and world-space data to deliver per-pixel lighting response and accurate indirect shadows. No special hardware is required.
- Real-Time Scene Voxelization: a flexible, GPU-driven voxelization system for building a world-space tracing acceleration structure on the fly. Comes with an advanced time-sliced voxelization, adaptive culling & mesh LOD control.
- Irradiance Cache: provides infinite light bounces in world-space by automatically caching lighting data in a spatial hash structure.
- Emissive Lights: all emissive surfaces can act as real light sources, casting indirect shadows and contributing fully to global illumination. There’s no upper limit on the number of emissive lights.
- Sky Lighting & Occlusion: the sky itself functions as a dynamic light source, producing realistic lighting and physically accurate occlusion.
- APV Support : Unity’s Adaptive Probe Volumes are automatically utilized as a ray-miss fallback, ensuring a smooth transition between HTrace lighting and APV data. Additionally, APV can be used to accelerate multi-bounce light calculations.
- Advanced Denoising: HTrace uses cutting-edge denoising and sampling techniques, like ReSTIR GI, with temporal and spatial passes to reduce noise even in complex lighting scenarios. Special care is taken to preserve high-frequency details such as contact shadows and normals.
- Open Code: feel free to modify it. If you have any questions on how any part of it works you can always reach out to us on Discord.