Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

ssgi.renderFeature

The gather, the filter and the composite — three compute passes plus a blit, all at afterLighting.

orderpass
30ssgi_gather — form-factor sum over nearby pixels into ssgi_raw (rgba16f)
31–34the à-trous filter from @builtin::systems.denoising.denoiser
35ssgi_apply — scene + albedo * irradiance * intensity
36blit the composited result back over the scene

The gather reads @scene.color, @scene.depth, @scene.normal and @frame.camera; the composite also reads @scene.material. All of them resolve against the render target being drawn, so the result is correct in offscreen captures and RTT cameras at their own resolutions.

@scene.normal and @scene.material are the deferred G-buffer, so this needs the deferred path (the default).

Parameters arrive through the ssgi_params buffer, packed by @builtin::systems.screenSpaceGI.screenSpaceGI.