-
Notifications
You must be signed in to change notification settings - Fork 5
Documentation: ReSTIR Gi Modifier
Essentuan edited this page Mar 28, 2026
·
2 revisions
Intercepts the value ReSTIR uses for Gi when photonics.restirCombinedGi = true. Disabled using PH_RESTIR_GI_MODIFIER_DISABLED.
You should use this when you modify the gi color after you sample it, as with combined gi it will be baked into sample_photonics_direct.
Usage:
void modify_restir_gi(inout vec3 color);- Home
- Documentation
- How to adapt your Shaderpack