This repository contains a sample implementation of Holographic Radiance Cascades (HRC), a variant of Radiance Cascades which can accurately resolve hard shadows and volumetrics with no added cost.
Other implementations:
- Yaazarai/Volumetric-HRC: A full implementation by Yaazarai in Game Maker, which uses textures for storage. Has an explanation of HRC which is less technical than the paper.
- Nihil: Implementation of HRC on the CPU treating lines as continuous functions which are bilinearly discretized. Has some useful volumetric DDA code and is quite simple, but has low quality and performance.
- Shadertoy by Suslik: Web demo of HRC. Inefficient merging, and no extensions.
![]() |
![]() |
![]() |
![]() |
Radial HRC was an old implementation that used one grid per direction in order to test the hypothesis that RC could resolve sharp shadows so long as the probe spacing perpendicular to the rays was small at all levels.
![]() |
![]() |
Join the Radiance Cascades Discord for more information and to discuss the algorithm!