public record class IrradianceFieldAssetThe irradiance field whose probes carry the scene's bounced light.
Remarks
[19](../../../docs/plan/19-lighting-and-global-illumination.md) § L2's node, on the same terms as GlobalDistanceFieldAsset: the field, its filler and its refinement policy are the host's, because they own device memory and a probe budget that outlive any one frame, and what a document chooses is where the fill happens and how much of it happens per frame.
A project that supplies no field gets a node that does nothing, and IndirectDiffuse's default Source answers "no indirect light, and the sun is not shadowed" — which its own remarks are careful to point out are two different right answers rather than one convenient zero.
Fields and properties (6)
public string NameThe node's name, for debug groups and for a human reading the file.
public bool EnabledWhether the node runs.
public string ShaderThe shader whose compose slot the field's bindings are written under.
public int BudgetHow many probes are filled per frame.
public int DilationPassesHow many times a filled probe's irradiance is dilated into its unfilled neighbours.
public string[] PassesWhich passes read the field, by their shader names.
Used by (3)
- CompositorBuilderVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Compositor_IrradianceFieldAssetSerializerVixen.Rendering