Vixen
02b45cc4
csharp
public record class IndirectDiffuseAsset

The screen-space pass that reads the irradiance field into the ambient term.

Read the guide page for this →

Remarks

[19](../../../docs/plan/19-lighting-and-global-illumination.md) § L2's consumer, paired with IrradianceField exactly as DistanceFieldAoAsset is paired with GlobalDistanceField. Its default Source answers no indirect light and an unshadowed sun — two different right answers rather than one convenient zero, because answering zero for the second would put every surface in the world into shadow.

Fields and properties (8)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string Depth

    The depth it reconstructs world positions from.

  • public string Normals

    The normals it asks the probe about.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the target it declares.

  • public string Source

    The shader behind the field slot — what the lookup actually reads.

  • public float Intensity

    A multiplier on the result.

Used by (4)

  • PostEffectFactoryVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_IndirectDiffuseAssetSerializerVixen.Rendering.PostFx