Vixen
02b45cc4
csharp
public interface IRadianceSource

What a ray found, expressed as light.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A distance field says where the geometry is and nothing about what colour it is, so a filler that traces one has to ask somebody. This is who it asks, and separating it out is what keeps the tracing honest: the filler is responsible for which directions matter and how much of the sphere each stands for, and nothing else.

On a GPU the answer to Surface comes from Lumen's surface cache — the thing that makes multi-bounce possible, and docs/plan/19 § L4. Until that exists the answer comes from whatever a caller can work out, which for a bootstrap pass is the previous iteration's own irradiance times an albedo. That is filler B's iteration in doc 19 § L2, and it is why this is an interface rather than a constant.

Methods (2)

Used by (26)

  • PreethamRadianceThirdPersonShooter
  • BlackWorldVixen.Rendering.SurfaceCache.Tests
  • ConstantVixen.Rendering.Reflections.Tests
  • LinearSkyVixen.Rendering.ScreenProbes.Tests
  • LinearSkyVixen.Rendering.ScreenProbes.Tests
  • LinearSkyVixen.Graphics.Golden.Tests
  • LinearSkyVixen.Graphics.Golden.Tests
  • MovingSkyVixen.Rendering.IrradianceFields.Tests
  • OpenSkyRaysVixen.Rendering.Tests
  • RadianceVixen.Rendering.IrradianceFields.Tests
  • SkyFallbackVixen.Rendering.Reflections
  • SurfaceCacheRadianceVixen.Rendering.SurfaceCache
  • TracedIrradianceFillerVixen.Rendering.IrradianceFields
  • TracedReflectionsVixen.Rendering.Reflections
  • TracedScreenProbeGatherVixen.Rendering.ScreenProbes
  • UniformSkyVixen.Rendering.ScreenProbes.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Rendering.ScreenProbes.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Graphics.Golden.Tests
  • UniformSkyVixen.Rendering.ScreenProbes.Tests
  • UniformSkyVixen.Rendering.ScreenProbes.Tests
  • UniformSkyVixen.Graphics.Golden.Tests