Skip to main content
Version: Next (dev)

Radiance Cascades

Radiance cascades is Plasma's default diffuse global illumination (GI) technique. It adds realistic bounce light, colour bleeding, and sky occlusion dynamically every frame—with nothing baked ahead of time.

Instead of firing random rays and heavily denoising them, radiance cascades split lighting into structured distance layers. The result is predictable per-frame performance and a steady, noise-free image when the camera holds still.

Four diffuse GI techniques compared in the same courtyard view: path traced reference, world cascades, screen probes, and radiance cascades

Same courtyard view rendered with four diffuse GI techniques: path traced reference (top left), world cascades (top right), screen probes (bottom left), and radiance cascades (bottom right).

Diffuse GI techniques​

Select the diffuse GI technique with Rendering.GI.Diffuse.Technique or a Post Process Volume (see Global Illumination for shared settings):

ValueTechniqueSummary
0Screen probesRandom rays per probe, denoised over time.
1Path tracedFull real-time path tracing; replaces analytic lighting and requires a path tracing pass.
2Radiance cascadesThis page. Compiled default, and the value in the Low, High, Max and Mobile presets.
3World radiance cascadesWorld-grid voxel cascades; requires no ray tracing hardware. The value in the Medium preset. See World radiance cascades.

Quick setup​

  1. Already active by default: Rendering.GI.Diffuse.Technique defaults to 2, and the Low, High, Max and Mobile presets keep it (Medium switches to world radiance cascades, 3). To override it for a specific area, add a Post Process Volume, enable Override GI, and set GI Diffuse Mode to Radiance Cascades (or pick it in the Quality Settings panel under Global illumination › Diffuse mode).
  2. Check your ray tracing backend:
    • Hardware ray tracing: Requires Rendering.RT.Enable on a ray-tracing GPU.
    • Software ray tracing: Set Rendering.GI.TraceBackend to 2 before loading the scene so meshes build their software BVH. With 0 (Auto), GPUs without hardware RT use software ray tracing only if Rendering.RT.Software.Enable is on.
  3. Check off-screen reach: Ensure Rendering.GI.SceneGatherRadius (256.0 world units, snapped to 32.0) covers nearby off-screen rooms so bounce rays do not miss walls behind the camera.
  4. Inspect indirect light on its own: Switch the viewport to Render Mode › GI › Diffuse (App.ViewRenderMode 24).

Render Mode menu showing the GI submenu with Combined, Diffuse, Screen Feedback, and Specular views

Use Render Mode › GI › Diffuse to isolate indirect bounce light from direct lights and textures.

Global GI switches

GI as a whole must be enabled (Rendering.GI.Enabled), and Rendering.GI.RTGI.Enabled controls tracing for both screen probes and radiance cascades.

Quality presets​

The Low, High, Max and Mobile presets (Data/Base/RuntimeConfigs/QualityPresets.ddl) use Radiance Cascades (Technique = 2) with MultiBounce = true; Medium uses world radiance cascades instead. The radiance cascade settings per preset:

PresetCascadesDirectionsProbeSpacing (HW)SoftwareProbeSpacing (SW)
Low441616
Medium541616
High54816
Max54816
Mobile441616

How it works​

How Radiance Cascades combine near and far light across distance bands

Distance bands (cascades)​

Close to a surface, bounce light changes rapidly over short distances—so you need many closely spaced probes, though each only needs a few directions. Far away, light comes from distant walls and the sky—so you need many directions, but probes can sit much further apart.

Radiance cascades stack up to 6 layers (5 by default) anchored to visible surfaces. Each higher layer doubles the spacing between probes, quadruples the angular directions, and reaches 4× further out (up to 100 m and the sky). Layers then merge from far down to near: whenever a short ray misses, it seamlessly continues with what the next cascade saw—only using probes on the same surface so light does not leak across thin walls or silhouettes.

Shared rays vs. per-cascade tracing​

By default (SharedRays = 1 on hardware RT, SoftwareSharedRays = 1 on software RT), only Cascade 0 traces full-length rays and splits each hit into the appropriate cascade band by distance. Newly revealed probes can optionally trace extra rays (YoungProbeRays) during their first few frames (YoungProbeFrames = 4.0).

Setting SharedRays (or SoftwareSharedRays) to 0 switches to classic per-cascade tracing, where every cascade traces its own distance band independently.

Hardware vs. software backends​

  • Hardware ray tracing (1, or 0 Auto when supported): Traces against the GPU BVH and evaluates alpha-tested foliage and cutouts.
  • Software ray tracing (2, or 0 Auto without hardware RT): Traces against the engine's software mesh BVH on GPUs without RT hardware. Because software ray cost depends mainly on total ray count, SoftwareProbeSpacing defaults to 16 (tracing a quarter of the rays of spacing 8). Halving probe spacing quadruples tracing cost.

Stability​

Probe positions and ray directions step smoothly through a fixed 16-frame jitter pattern (Jitter = true) and blend over time (HistoryWeight = 0.97). Turning Jitter off produces an identical image every frame, though the probe grid can appear slightly blotchy.

Multi-bounce and off-screen light​

With MultiBounce enabled (the default), a ray hitting a surface visible last frame also picks up that surface's previous bounce light (damped by Rendering.GI.RTGI.ScreenFeedbackScale, default 0.8). Within a few frames, rooms build up unlimited light bounces. Turning MultiBounce off restricts GI to a single bounce.

Because screen feedback only knows surfaces that were visible on screen last frame, two options improve off-screen accuracy:

  • World-space radiance cache (Rendering.GI.RadianceCascades.RadianceCache, off by default, shared rays only): Trains and reads a persistent 3D hash-grid cache at ray hits instead of relying on last frame's screen image. Off-screen walls bounce light consistently, removing edge brightening and feeding cleaner bounce light into ray-traced reflections too.
  • Hit sky visibility (Rendering.GI.RTGI.HitSkyVisibility, off by default): Without the radiance cache, off-screen hits default to receiving full sky light, which can make enclosed rooms brighten near screen edges. Turning this on checks whether the hit can actually see the sky—best used together with the radiance cache so interiors do not become too dark.
Radiance cache improvements in 0.12

The world-space radiance cache (shared with screen-probe RTGI) no longer reads untrained cells as black, resets only on well-sampled changes, and blends sky fill smoothly until a cell is trusted (Rendering.GI.RTGI.RadianceCache.TrustSamples, default 1), eliminating flicker in ray-traced reflections that sample the cache.

Known limitations​

  • Mono views only: Stereo (XR) views fall back to screen-probe RTGI (Renderer/GI/RadianceCascades/StereoFallback).
  • Probe grid resolution: Probes sit every 8 pixels (16 on software RT), so very thin details between probes borrow bounce light from the closest matching surface probes.
  • Graphics API testing: Vulkan shares the same shaders, though radiance cascades have only been tested on DX12.

Opt-in reactive history and probe reflections​

All settings in this section are off by default.

Experimental — off by default

Rendering.GI.Reactive.* and Rendering.GI.Specular.ProbeReflections are off by default, experimental, and have not been validated on a GPU in a real scene. Enable them only when profiling with Rendering.GI.ProfileGPU and checking the diagnostic views under Render Mode › Global Illumination (App.ViewRenderMode 110–113).

Reactive history for moving objects and changing lights​

Normally, temporal smoothing holds GI steady across many frames—which can leave slow trails when a door swings open, an elevator moves, or a light switches on. With shared rays active, reactive history detects change and temporarily shortens history only where needed:

  1. Detect moving objects (Rendering.GI.Reactive.MovingObjects): Flags moving or deforming ray-tracing objects (moved more than MoveTolerance = 0.01 m) and tracks probes whose rays hit them. Newly streamed objects are ignored so streaming does not flush GI.
  2. Detect changing lights (Rendering.GI.Reactive.LightChanges): Tracks lights whose brightness, colour, or position changed and marks their world-space reach spheres (plus sun direction changes).
  3. Shorten history where probes react: Enable Rendering.GI.Reactive.AdaptiveProbeHistory (shortens probe history from 16 down toward MinProbeFrames = 8.0) and/or Rendering.GI.Reactive.AdaptiveStabilizer (lowers stabilizer weight from 0.97 toward StabilizerWeight = 0.875). Continuous motion (like a spinning fan) automatically fades its reaction back to normal over MaxReactiveFrames = 30.0 frames so history never stays permanently noisy.
  4. Optional extra filters: Rendering.GI.Reactive.AngleGate (try 10.0°) rejects neighbour rays at steep angles during probe filtering; Rendering.GI.Reactive.RayClamp (try 10.0) caps tiny intense emitters so sunlit pinholes do not pulse across jitter frames.

Rough specular probe reflections​

CVar: Rendering.GI.Specular.ProbeReflections (default false)

Reuses Cascade 0's directional radiance probes to shade rough reflections instead of tracing dedicated specular rays on matte or satin surfaces:

  • Smooth surfaces (below the blend band) still use full ray-traced or screen-space reflections.
  • Medium-rough surfaces inside the blend band ([Roughness - 0.5 * Band, Roughness + 0.5 * Band]) blend smoothly between traced reflections and probe reflections.
  • Rough surfaces above the band skip specular ray tracing completely wherever probes cover the reflection lobe. On the software backend, probe reflections also replace cubemap fallbacks above Rendering.GI.Specular.Software.MaxRoughness (0.6).

Requirements and limitations: Requires Radiance Cascades (Technique 2), G-Buffer normals, a perspective camera, and DebugCascade = 0. On very thin walls, probes on the back side can pass the plane tolerance and leak reflection light onto the front side.

World radiance cascades​

World radiance cascades (Rendering.GI.Diffuse.Technique 3, or World Radiance Cascades as GI Diffuse Mode on a Post Process Volume with Override GI) is a diffuse GI technique that needs no ray tracing hardware. Its bounce light follows a light change in the same frame, where the ray-traced techniques take several frames to catch up. The Medium quality preset uses it.

How it works:

  • Scene volume. A voxel grid centred on the camera (by default 256 × 256 × 128 voxels of 0.2 m) follows the camera without moving its contents. It is voxelized through the software ray tracing scene, and only what changed is voxelized again: the slabs that scroll in and the bounds of objects that appear or disappear.
  • Voxel lighting. Every solid voxel is lit each frame by its strongest lights (up to four, each with a shadow march through the voxels), by emission and, with Multi-bounce, by last frame's probe light, so light gains one bounce per frame and the sky reaches the voxels.
  • Cascades. Cascade i has a probe every 2 × 2i voxels. Each direction is traced through the voxels over its interval, and the top cascade's rays run to the edge of the volume. Probes the screen needs are traced every frame; the others once every RefreshFrames frames.
  • Gather. Each pixel blends the eight nearest probes of the first cascade by distance, surface plane and visibility. No temporal filter runs afterwards.
  • Nested volumes. Rendering.GI.SceneVolume.Levels 2 or 3 adds outer volumes with voxels and probes twice as coarse that reach twice as far, at about the memory and cost of the first. Rays that leave an inner volume continue in the next one.

The world radiance cascade voxel volume seen from the camera in Sponza: base colours of the voxels (DebugView 1) and the voxels lit this frame (DebugView 2)

Cost. In Sponza at 1080p with half-resolution GI on an RTX 4080 it took about 2 ms of GPU time (radiance cascades about 0.7 ms, screen probes about 1.3 ms). The default volume uses about 176 MB of texture memory.

Limitations. Areas that only second and later bounces reach get little or no bounce light, so world radiance cascades look darker than the ray-traced techniques in deep interiors. Surfaces thinner than a voxel can leak light. With nested volumes the outer level can show sky through the far end of a long corridor.

CVarDefaultDescription
Rendering.GI.SceneVolume.VoxelSize0.2Edge length of a voxel of the innermost volume in metres (0.05 to 2). Changing it voxelizes the volumes again.
Rendering.GI.SceneVolume.SizeXY256Horizontal size of a volume in voxels, a power of two from 64 to 512. The innermost volume reaches SizeXY × VoxelSize / 2 from the camera.
Rendering.GI.SceneVolume.SizeZ128Vertical size of a volume in voxels, a power of two from 32 to 256.
Rendering.GI.SceneVolume.Levels1Number of nested volumes, 1 to 3.
Rendering.GI.WorldCascades.Cascades4Number of cascades, 3 to 5. Each one doubles the probe spacing and directions and covers an interval four times as long.
Rendering.GI.WorldCascades.IntervalScale1.75Length of the first cascade's interval in multiples of its probe spacing.
Rendering.GI.WorldCascades.MultiBounceonAdds last frame's probe light to the voxel lighting. Off: direct light and emission only, and no sky bounce.
Rendering.GI.WorldCascades.BounceScale1Scale of the bounces after the first, 0 to 1.
Rendering.GI.WorldCascades.RefreshFrames32Probes the screen does not read are traced once in this many frames (1 to 256). 1 traces every probe every frame.
Rendering.GI.WorldCascades.MaxShadowedLights4Lights per voxel, 1 to 4. Weaker lights do not light the voxel.
Rendering.GI.WorldCascades.ShadowBias1.5How far off its surface a voxel's shadow march starts, in voxels. Lower values make sloped surfaces shadow themselves.
Rendering.GI.WorldCascades.EdgeFade4Width in metres of the fade at the edge of the innermost volume, to the next level or to the sky.
Rendering.GI.WorldCascades.GatherOffset1How far off the surface a pixel looks up its probes, in voxels.
Rendering.GI.WorldCascades.DebugView01 to 3: the innermost voxel volume from the camera (base colour, lit radiance, normal). 4: share of a pixel's probes it could use (green = all). 5: green where the nearest probe was traced this frame. 6: the nearest probe alone, magenta inside geometry.

The Quality Settings panel lists the main ones in its Diffuse: world radiance cascades group.

Diagnostic views​

Open diagnostic views under Render Mode › Global Illumination (or App.ViewRenderMode):

Menu entryConsole commandWhat it displays
DiffuseApp.ViewRenderMode 24Indirect diffuse bounce light alone.
Reactive History - Moving ObjectsApp.ViewRenderMode 110Dark-grey to red ramp showing probes hitting moved objects (solid magenta if MovingObjects or shared rays are off).
Reactive History - Light ChangesApp.ViewRenderMode 111Dark-grey to yellow ramp showing probes inside changed-light spheres (solid magenta if LightChanges or shared rays are off).
Reactive History - FramesApp.ViewRenderMode 112Stabilizer history length: red (1 frame, fresh/reactive) → yellow → green (16+ frames, settled).
Reflection SourceApp.ViewRenderMode 113Which source supplied each pixel's specular reflection (legend below).

Reflection Source legend (App.ViewRenderMode 113)​

ColourReflection source
GreenTraced specular ray (or screen-space reflection hit).
YellowRadiance cascade probe reflection (ProbeReflections).
Yellow-greenInside the roughness blend band or partial probe coverage.
BlueReflection probe cubemap fallback.
Dark greyMirror/clear pixel bypassing GI specular resolve.

You can also inspect individual cascades via Rendering.GI.RadianceCascades.DebugCascade (0–5) and Rendering.GI.RadianceCascades.DebugView (1 = probe coverage: green on-surface, yellow fallback, red none; 2 = red share of light that could not continue into the next cascade).

Console variables​

Many core settings also appear in the editor's Quality Settings panel under Diffuse: radiance cascades. Shared settings such as Rendering.GI.RTGI.ScreenFeedbackScale, Rendering.GI.RTGI.Resolution, and stabilizer settings also apply.

Core quality and backends​

CVarDefaultDescription
Rendering.GI.EnabledtrueMaster toggle for global illumination.
Rendering.GI.Diffuse.Technique20 = ScreenProbeRT, 1 = PathTraced, 2 = RadianceCascades (default in all presets), 3 = WorldRadianceCascades.
Rendering.GI.RadianceCascades.Cascades5Number of cascades (1–6). Presets: 4 Low/Mobile, 5 Medium/High/Max.
Rendering.GI.RadianceCascades.ProbeSpacing8Cascade-0 probe spacing in full-res pixels (2–32) on hardware RT. Presets: 16 Low/Medium/Mobile, 8 High/Max.
Rendering.GI.RadianceCascades.SoftwareProbeSpacing16Cascade-0 probe spacing (2–32) on software RT (16 in all presets).
Rendering.GI.RadianceCascades.Directions4Octahedral directions per axis (2–8; 4 = 16 sphere directions, 4 in all presets).
Rendering.GI.RadianceCascades.SharedRays1Hardware RT: 0 = per-cascade tracing; 1–4 = Cascade 0 traces full-length rays split across cascades.
Rendering.GI.RadianceCascades.SoftwareSharedRays1Software RT equivalent of SharedRays (0–4).
Rendering.GI.RadianceCascades.YoungProbeRays0Extra shared rays per direction for newly disoccluded probes (capped at 2 × SharedRays; 0 = off).
Rendering.GI.RadianceCascades.YoungProbeFrames4.0History frames below which a probe counts as young for YoungProbeRays.

Intervals, merging, and multi-bounce​

CVarDefaultDescription
Rendering.GI.RadianceCascades.IntervalScale4.0Cascade-0 interval length in multiples of world probe spacing (before MinInterval/MaxInterval clamp).
Rendering.GI.RadianceCascades.MinInterval0.1Shortest Cascade-0 interval in world units (near camera).
Rendering.GI.RadianceCascades.MaxInterval2.0Longest Cascade-0 interval in world units (far from camera).
Rendering.GI.RadianceCascades.IntervalOverlap0.1Fractional overlap (0.0–1.0) added to each cascade interval end.
Rendering.GI.RadianceCascades.MaxRayDistance100.0Maximum ray distance in world units before sampling the sky.
Rendering.GI.RadianceCascades.NormalBias0.04Ray origin offset along the surface normal in world units.
Rendering.GI.RadianceCascades.MergePlaneTolerance0.5Parent-probe plane offset tolerance during top-down cascade merge.
Rendering.GI.RadianceCascades.GatherPlaneTolerance0.03Cascade-0 probe plane offset tolerance (fraction of view depth) during full-res gather.
Rendering.GI.RadianceCascades.GatherNormalPower4.0Normal-similarity weighting exponent during full-res gather.
Rendering.GI.RadianceCascades.NormalDetail0.5Blend (0.0–1.0) of normal-mapped normal over geometric normal during gather.
Rendering.GI.RadianceCascades.MultiBouncetrueAdds previous-frame bounce light at hits (true in all presets).
Rendering.GI.RadianceCascades.RadianceCachefalseWith MultiBounce + shared rays: uses world-space radiance cache instead of screen feedback.
Rendering.GI.RTGI.HitSkyVisibilityfalseTraces a sky visibility ray on off-screen hits instead of assuming full sky (shared with screen-probe RTGI).
Rendering.GI.RadianceCascades.LightSampling0Light selection at ray hits: 0 = deterministic top MaxShadowedLights, 1 = weighted reservoir sampling.
Rendering.GI.RadianceCascades.JittertrueEnables 16-frame stratified probe and ray jitter.
Rendering.GI.RadianceCascades.ProbeJitter0.75Fraction of screen cell (0.0–1.0) covered by probe jitter.
Rendering.GI.RadianceCascades.HistoryWeight0.97Temporal blend weight (0.0–0.99) of the full-resolution diffuse stabilizer.
Rendering.GI.RadianceCascades.MergetrueDiagnostic: false leaves interval misses black to inspect Cascade 0 alone.
Rendering.GI.RadianceCascades.DebugCascade0Diagnostic: merged cascade index (0 to Cascades - 1) shown by gather (0 = normal).
Rendering.GI.RadianceCascades.DebugView0Diagnostic: 0 = off, 1 = probe coverage, 2 = unmerged interval share.

Opt-in reactive history​

CVarDefaultDescription
Rendering.GI.Reactive.MovingObjectsfalseOpt-in: tracks moved/deformed RT instances and flags rays hitting them.
Rendering.GI.Reactive.MoveTolerance0.01Translation delta in metres above which an instance counts as moved.
Rendering.GI.Reactive.LightChangesfalseOpt-in: tracks changed lights and flags rays hitting their reach spheres.
Rendering.GI.Reactive.AdaptiveProbeHistoryfalseOpt-in: caps probe history between 16 and MinProbeFrames on reactive probes.
Rendering.GI.Reactive.FullFraction0.5Fraction of a probe's rays (0.001–1.0) needed for a full (1.0) reactive response.
Rendering.GI.Reactive.MinProbeFrames8.0Minimum probe history cap (2.0–16.0) at full reactive response.
Rendering.GI.Reactive.MaxReactiveFrames30.0Consecutive reactive frames over which persistent motion damps back to normal history (decays 0.25/quiet frame).
Rendering.GI.Reactive.AdaptiveStabilizerfalseOpt-in: lowers stabilizer weight from HistoryWeight (0.97) toward StabilizerWeight (0.875) on reactive probes.
Rendering.GI.Reactive.StabilizerWeight0.875Stabilizer history weight at full reaction (~8-frame window).
Rendering.GI.Reactive.AngleGate0.0Opt-in (shared rays): max angle in degrees (0.0 = off, up to 90.0) for neighbour-ray reuse in probe filtering.
Rendering.GI.Reactive.RayClamp0.0Opt-in: clamps ray luminance × view exposure (0.0 = off) to prevent pulsing on bright sub-texel emitters.

Opt-in rough specular probe reflections​

CVarDefaultDescription
Rendering.GI.Specular.ProbeReflectionsfalseOpt-in: shades rough specular reflections from Cascade-0 probes and skips specular rays when covered.
Rendering.GI.Specular.ProbeReflections.Roughness0.4Middle of the blend band (0.4 compiled; presets: 0.3 Low/Medium/Mobile, 0.4 High, 0.5 Max).
Rendering.GI.Specular.ProbeReflections.Band0.1Roughness width of the blend band ([Roughness - 0.5 * Band, Roughness + 0.5 * Band]).

Troubleshooting​

SymptomLikely causeWhat to do
No indirect bounce light at allNo ray tracing backend is active.Enable Rendering.RT.Enable on an RT GPU, or set Rendering.GI.TraceBackend 2 and reload. Check Renderer/GI/RadianceCascades/Fallback.
Reactive History - Moving Objects (110) or Light Changes (111) is solid magentaThe signal CVar is false, or SharedRays is 0.Enable MovingObjects and/or LightChanges and keep SharedRays >= 1.
Moving doors or toggled lights still leave slow GI trails with signals onSignal CVars only measure reactivity; history stays long until adaptive caps are enabled.Enable AdaptiveProbeHistory and AdaptiveStabilizer, then inspect Reactive History - Frames (App.ViewRenderMode 112).
Rooms brighten or darken near screen edges when turning away from a lit wallScreen-space feedback only knows on-screen surfaces; off-screen hits fall back to 1-bounce + sky fill.Enable Rendering.GI.RadianceCascades.RadianceCache (with SharedRays >= 1), optionally add HitSkyVisibility, and verify SceneGatherRadius covers the room.
Probe reflections leak light through a thin interior wallProbes on the back of a thin parallel wall pass the plane tolerance.Lower GatherPlaneTolerance, thicken the wall, or raise ProbeReflections.Roughness.
Light leaks around silhouettes or stepsParent cascade probes across a depth edge continue the rays.Lower MergePlaneTolerance or ProbeJitter; inspect with DebugView 2.
Blotchy or stepped bounce lightJitter is off, or ProbeSpacing is too coarse.Keep Jitter on, or lower ProbeSpacing (quadruples tracing cost per halving).
XR / stereo view looks different from desktopStereo views fall back to screen-probe RTGI.Expected: radiance cascades runs on mono views only (StereoFallback).
Technical reference: engine internals, shaders, and full stats list

Passes, shaders, and trackers​

  • Core GI pass (plGIPass, RC_MAX_CASCADES = 6, RCIntervalParams): RCProbeAnchor.plShader, RCSharedTrace.plShader / RCSharedTraceSW.plShader, RCSharedMerge.plShader, RCTrace.plShader / RCTraceSW.plShader, RCMerge.plShader, RCTraceHW.hlsli, RCTraceSW.hlsli, RTSoftwareBVH.h, RTGIRadianceCache.hlsli, RCProbeResolve.plShader, RCProbeFilter.plShader, RCProbeTemporal.plShader (RC_PROBE_HISTORY_MAX = 16.0f), RCGather.plShader, RTGIDiffuseTemporal.plShader (RTGI_REACTIVE_ADAPTIVE).
  • Reactive history (Data/Base/Shaders/Pipeline/GI/RadianceCascadesReactive.h):
    • Moving instances: plRTMovedInstanceTracker::Update (Code/Engine/RendererCore/RayTracing/RTMovedInstances.h, RTSceneDataProvider.cpp) checks translation (MoveTolerance), 3×4 rotation/scale matrix delta (> 0.001), and rebuilt geometry handles, recording hits into m_hRCRayMotion.
    • Light changes: plLightChangeSet::Build (LightChangeSet.h / .cpp, plPerLightData, plGILightState::Decode, ComputeFingerprint, plLightChangeHistory, ComputeChangeWeight, s_fMinChange = 1.0f / 255.0f, ComputeReach, s_fFullChangeTurn = 0.087f rad / ~5°). Each Cascade-0 probe tests up to RC_MAX_PROBE_REGIONS = 16 spheres.
    • Response & damping: requires ≥ 2 reactive rays (RCReactiveResponse), damped via RCReactiveNextAge / RCReactiveDamped, history cap via RCReactiveHistoryCap.
  • Probe reflections: RCProbeRadianceTemporal.plShader (m_hRCRadianceHistory 4×4 octahedral radiance), RCProbeReflection.plShader (plGIPass::ExecuteRCProbeReflections, m_hRCProbeSpecular), GIResolveSpecular.plShader (GI_REFLECTION_MODE_SOURCE_VIEW).
  • Diagnostic view pass IDs: plViewRenderMode::GIReactiveMoving (EDITOR_RENDER_PASS_GI_REACTIVE_MOVING = 50, RCReactiveSignals.x, (1.0, 0.1, 0.05)), plViewRenderMode::GIReactiveLightChanges (EDITOR_RENDER_PASS_GI_REACTIVE_LIGHTS = 51, RCReactiveSignals.y, (1.0, 0.9, 0.1)), plViewRenderMode::GIReactiveHistory (EDITOR_RENDER_PASS_GI_REACTIVE_HISTORY = 52), plViewRenderMode::GIReflectionSource (EDITOR_RENDER_PASS_GI_REFLECTION_SOURCE = 53, RCReactiveView.plShader).

Stats (Renderer/GI/* and Renderer/RT/*)​

  • Reactive & specular: Renderer/GI/Reactive/Flags (RC_REACTIVE_MOVING, RC_REACTIVE_LIGHTS, RC_REACTIVE_ADAPT_HISTORY, RC_REACTIVE_SIGNAL_HISTORY, RC_REACTIVE_ANGLE_GATE, RC_REACTIVE_RAY_CLAMP, RC_REACTIVE_SIGNALS), Renderer/GI/Reactive/MovedInstances, Renderer/RT/Scene/MovedInstances, Renderer/GI/Reactive/ChangedLightRegions, Renderer/GI/Reactive/GlobalLightChange, Renderer/GI/Reactive/MaxRegionTestsPerProbe, Renderer/GI/Specular/ProbeReflections.
  • General radiance cascades: Renderer/GI/RadianceCascades/* (enabled state, backend, cascade count, directions per frame, shared rays, multi-bounce, Fallback, StereoFallback).

See Also​