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.

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):
| Value | Technique | Summary |
|---|---|---|
0 | Screen probes | Random rays per probe, denoised over time. |
1 | Path traced | Full real-time path tracing; replaces analytic lighting and requires a path tracing pass. |
2 | Radiance cascades | This page. Compiled default, and the value in the Low, High, Max and Mobile presets. |
3 | World radiance cascades | World-grid voxel cascades; requires no ray tracing hardware. The value in the Medium preset. See World radiance cascades. |
Quick setup
- Already active by default:
Rendering.GI.Diffuse.Techniquedefaults to2, 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). - Check your ray tracing backend:
- Hardware ray tracing: Requires
Rendering.RT.Enableon a ray-tracing GPU. - Software ray tracing: Set
Rendering.GI.TraceBackendto2before loading the scene so meshes build their software BVH. With0(Auto), GPUs without hardware RT use software ray tracing only ifRendering.RT.Software.Enableis on.
- Hardware ray tracing: Requires
- Check off-screen reach: Ensure
Rendering.GI.SceneGatherRadius(256.0world units, snapped to32.0) covers nearby off-screen rooms so bounce rays do not miss walls behind the camera. - Inspect indirect light on its own: Switch the viewport to Render Mode › GI › Diffuse (
App.ViewRenderMode 24).

Use Render Mode › GI › Diffuse to isolate indirect bounce light from direct lights and textures.
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:
| Preset | Cascades | Directions | ProbeSpacing (HW) | SoftwareProbeSpacing (SW) |
|---|---|---|---|---|
| Low | 4 | 4 | 16 | 16 |
| Medium | 5 | 4 | 16 | 16 |
| High | 5 | 4 | 8 | 16 |
| Max | 5 | 4 | 8 | 16 |
| Mobile | 4 | 4 | 16 | 16 |
How it works
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, or0Auto when supported): Traces against the GPU BVH and evaluates alpha-tested foliage and cutouts. - Software ray tracing (
2, or0Auto 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,SoftwareProbeSpacingdefaults to16(tracing a quarter of the rays of spacing8). 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.
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.
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:
- Detect moving objects (
Rendering.GI.Reactive.MovingObjects): Flags moving or deforming ray-tracing objects (moved more thanMoveTolerance = 0.01m) and tracks probes whose rays hit them. Newly streamed objects are ignored so streaming does not flush GI. - 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). - Shorten history where probes react: Enable
Rendering.GI.Reactive.AdaptiveProbeHistory(shortens probe history from16down towardMinProbeFrames = 8.0) and/orRendering.GI.Reactive.AdaptiveStabilizer(lowers stabilizer weight from0.97towardStabilizerWeight = 0.875). Continuous motion (like a spinning fan) automatically fades its reaction back to normal overMaxReactiveFrames = 30.0frames so history never stays permanently noisy. - Optional extra filters:
Rendering.GI.Reactive.AngleGate(try10.0°) rejects neighbour rays at steep angles during probe filtering;Rendering.GI.Reactive.RayClamp(try10.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
RefreshFramesframes. - 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.Levels2 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.

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.
| CVar | Default | Description |
|---|---|---|
Rendering.GI.SceneVolume.VoxelSize | 0.2 | Edge length of a voxel of the innermost volume in metres (0.05 to 2). Changing it voxelizes the volumes again. |
Rendering.GI.SceneVolume.SizeXY | 256 | Horizontal 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.SizeZ | 128 | Vertical size of a volume in voxels, a power of two from 32 to 256. |
Rendering.GI.SceneVolume.Levels | 1 | Number of nested volumes, 1 to 3. |
Rendering.GI.WorldCascades.Cascades | 4 | Number of cascades, 3 to 5. Each one doubles the probe spacing and directions and covers an interval four times as long. |
Rendering.GI.WorldCascades.IntervalScale | 1.75 | Length of the first cascade's interval in multiples of its probe spacing. |
Rendering.GI.WorldCascades.MultiBounce | on | Adds last frame's probe light to the voxel lighting. Off: direct light and emission only, and no sky bounce. |
Rendering.GI.WorldCascades.BounceScale | 1 | Scale of the bounces after the first, 0 to 1. |
Rendering.GI.WorldCascades.RefreshFrames | 32 | Probes the screen does not read are traced once in this many frames (1 to 256). 1 traces every probe every frame. |
Rendering.GI.WorldCascades.MaxShadowedLights | 4 | Lights per voxel, 1 to 4. Weaker lights do not light the voxel. |
Rendering.GI.WorldCascades.ShadowBias | 1.5 | How far off its surface a voxel's shadow march starts, in voxels. Lower values make sloped surfaces shadow themselves. |
Rendering.GI.WorldCascades.EdgeFade | 4 | Width in metres of the fade at the edge of the innermost volume, to the next level or to the sky. |
Rendering.GI.WorldCascades.GatherOffset | 1 | How far off the surface a pixel looks up its probes, in voxels. |
Rendering.GI.WorldCascades.DebugView | 0 | 1 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 entry | Console command | What it displays |
|---|---|---|
| Diffuse | App.ViewRenderMode 24 | Indirect diffuse bounce light alone. |
| Reactive History - Moving Objects | App.ViewRenderMode 110 | Dark-grey to red ramp showing probes hitting moved objects (solid magenta if MovingObjects or shared rays are off). |
| Reactive History - Light Changes | App.ViewRenderMode 111 | Dark-grey to yellow ramp showing probes inside changed-light spheres (solid magenta if LightChanges or shared rays are off). |
| Reactive History - Frames | App.ViewRenderMode 112 | Stabilizer history length: red (1 frame, fresh/reactive) → yellow → green (16+ frames, settled). |
| Reflection Source | App.ViewRenderMode 113 | Which source supplied each pixel's specular reflection (legend below). |
Reflection Source legend (App.ViewRenderMode 113)
| Colour | Reflection source |
|---|---|
| Green | Traced specular ray (or screen-space reflection hit). |
| Yellow | Radiance cascade probe reflection (ProbeReflections). |
| Yellow-green | Inside the roughness blend band or partial probe coverage. |
| Blue | Reflection probe cubemap fallback. |
| Dark grey | Mirror/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
| CVar | Default | Description |
|---|---|---|
Rendering.GI.Enabled | true | Master toggle for global illumination. |
Rendering.GI.Diffuse.Technique | 2 | 0 = ScreenProbeRT, 1 = PathTraced, 2 = RadianceCascades (default in all presets), 3 = WorldRadianceCascades. |
Rendering.GI.RadianceCascades.Cascades | 5 | Number of cascades (1–6). Presets: 4 Low/Mobile, 5 Medium/High/Max. |
Rendering.GI.RadianceCascades.ProbeSpacing | 8 | Cascade-0 probe spacing in full-res pixels (2–32) on hardware RT. Presets: 16 Low/Medium/Mobile, 8 High/Max. |
Rendering.GI.RadianceCascades.SoftwareProbeSpacing | 16 | Cascade-0 probe spacing (2–32) on software RT (16 in all presets). |
Rendering.GI.RadianceCascades.Directions | 4 | Octahedral directions per axis (2–8; 4 = 16 sphere directions, 4 in all presets). |
Rendering.GI.RadianceCascades.SharedRays | 1 | Hardware RT: 0 = per-cascade tracing; 1–4 = Cascade 0 traces full-length rays split across cascades. |
Rendering.GI.RadianceCascades.SoftwareSharedRays | 1 | Software RT equivalent of SharedRays (0–4). |
Rendering.GI.RadianceCascades.YoungProbeRays | 0 | Extra shared rays per direction for newly disoccluded probes (capped at 2 × SharedRays; 0 = off). |
Rendering.GI.RadianceCascades.YoungProbeFrames | 4.0 | History frames below which a probe counts as young for YoungProbeRays. |
Intervals, merging, and multi-bounce
| CVar | Default | Description |
|---|---|---|
Rendering.GI.RadianceCascades.IntervalScale | 4.0 | Cascade-0 interval length in multiples of world probe spacing (before MinInterval/MaxInterval clamp). |
Rendering.GI.RadianceCascades.MinInterval | 0.1 | Shortest Cascade-0 interval in world units (near camera). |
Rendering.GI.RadianceCascades.MaxInterval | 2.0 | Longest Cascade-0 interval in world units (far from camera). |
Rendering.GI.RadianceCascades.IntervalOverlap | 0.1 | Fractional overlap (0.0–1.0) added to each cascade interval end. |
Rendering.GI.RadianceCascades.MaxRayDistance | 100.0 | Maximum ray distance in world units before sampling the sky. |
Rendering.GI.RadianceCascades.NormalBias | 0.04 | Ray origin offset along the surface normal in world units. |
Rendering.GI.RadianceCascades.MergePlaneTolerance | 0.5 | Parent-probe plane offset tolerance during top-down cascade merge. |
Rendering.GI.RadianceCascades.GatherPlaneTolerance | 0.03 | Cascade-0 probe plane offset tolerance (fraction of view depth) during full-res gather. |
Rendering.GI.RadianceCascades.GatherNormalPower | 4.0 | Normal-similarity weighting exponent during full-res gather. |
Rendering.GI.RadianceCascades.NormalDetail | 0.5 | Blend (0.0–1.0) of normal-mapped normal over geometric normal during gather. |
Rendering.GI.RadianceCascades.MultiBounce | true | Adds previous-frame bounce light at hits (true in all presets). |
Rendering.GI.RadianceCascades.RadianceCache | false | With MultiBounce + shared rays: uses world-space radiance cache instead of screen feedback. |
Rendering.GI.RTGI.HitSkyVisibility | false | Traces a sky visibility ray on off-screen hits instead of assuming full sky (shared with screen-probe RTGI). |
Rendering.GI.RadianceCascades.LightSampling | 0 | Light selection at ray hits: 0 = deterministic top MaxShadowedLights, 1 = weighted reservoir sampling. |
Rendering.GI.RadianceCascades.Jitter | true | Enables 16-frame stratified probe and ray jitter. |
Rendering.GI.RadianceCascades.ProbeJitter | 0.75 | Fraction of screen cell (0.0–1.0) covered by probe jitter. |
Rendering.GI.RadianceCascades.HistoryWeight | 0.97 | Temporal blend weight (0.0–0.99) of the full-resolution diffuse stabilizer. |
Rendering.GI.RadianceCascades.Merge | true | Diagnostic: false leaves interval misses black to inspect Cascade 0 alone. |
Rendering.GI.RadianceCascades.DebugCascade | 0 | Diagnostic: merged cascade index (0 to Cascades - 1) shown by gather (0 = normal). |
Rendering.GI.RadianceCascades.DebugView | 0 | Diagnostic: 0 = off, 1 = probe coverage, 2 = unmerged interval share. |
Opt-in reactive history
| CVar | Default | Description |
|---|---|---|
Rendering.GI.Reactive.MovingObjects | false | Opt-in: tracks moved/deformed RT instances and flags rays hitting them. |
Rendering.GI.Reactive.MoveTolerance | 0.01 | Translation delta in metres above which an instance counts as moved. |
Rendering.GI.Reactive.LightChanges | false | Opt-in: tracks changed lights and flags rays hitting their reach spheres. |
Rendering.GI.Reactive.AdaptiveProbeHistory | false | Opt-in: caps probe history between 16 and MinProbeFrames on reactive probes. |
Rendering.GI.Reactive.FullFraction | 0.5 | Fraction of a probe's rays (0.001–1.0) needed for a full (1.0) reactive response. |
Rendering.GI.Reactive.MinProbeFrames | 8.0 | Minimum probe history cap (2.0–16.0) at full reactive response. |
Rendering.GI.Reactive.MaxReactiveFrames | 30.0 | Consecutive reactive frames over which persistent motion damps back to normal history (decays 0.25/quiet frame). |
Rendering.GI.Reactive.AdaptiveStabilizer | false | Opt-in: lowers stabilizer weight from HistoryWeight (0.97) toward StabilizerWeight (0.875) on reactive probes. |
Rendering.GI.Reactive.StabilizerWeight | 0.875 | Stabilizer history weight at full reaction (~8-frame window). |
Rendering.GI.Reactive.AngleGate | 0.0 | Opt-in (shared rays): max angle in degrees (0.0 = off, up to 90.0) for neighbour-ray reuse in probe filtering. |
Rendering.GI.Reactive.RayClamp | 0.0 | Opt-in: clamps ray luminance × view exposure (0.0 = off) to prevent pulsing on bright sub-texel emitters. |
Opt-in rough specular probe reflections
| CVar | Default | Description |
|---|---|---|
Rendering.GI.Specular.ProbeReflections | false | Opt-in: shades rough specular reflections from Cascade-0 probes and skips specular rays when covered. |
Rendering.GI.Specular.ProbeReflections.Roughness | 0.4 | Middle of the blend band (0.4 compiled; presets: 0.3 Low/Medium/Mobile, 0.4 High, 0.5 Max). |
Rendering.GI.Specular.ProbeReflections.Band | 0.1 | Roughness width of the blend band ([Roughness - 0.5 * Band, Roughness + 0.5 * Band]). |
Troubleshooting
| Symptom | Likely cause | What to do |
|---|---|---|
| No indirect bounce light at all | No 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 magenta | The 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 on | Signal 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 wall | Screen-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 wall | Probes 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 steps | Parent cascade probes across a depth edge continue the rays. | Lower MergePlaneTolerance or ProbeJitter; inspect with DebugView 2. |
| Blotchy or stepped bounce light | Jitter is off, or ProbeSpacing is too coarse. | Keep Jitter on, or lower ProbeSpacing (quadruples tracing cost per halving). |
| XR / stereo view looks different from desktop | Stereo 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 intom_hRCRayMotion. - Light changes:
plLightChangeSet::Build(LightChangeSet.h/.cpp,plPerLightData,plGILightState::Decode,ComputeFingerprint,plLightChangeHistory,ComputeChangeWeight,s_fMinChange = 1.0f / 255.0f,ComputeReach,s_fFullChangeTurn = 0.087frad / ~5°). Each Cascade-0 probe tests up toRC_MAX_PROBE_REGIONS = 16spheres. - Response & damping: requires ≥ 2 reactive rays (
RCReactiveResponse), damped viaRCReactiveNextAge/RCReactiveDamped, history cap viaRCReactiveHistoryCap.
- Moving instances:
- Probe reflections:
RCProbeRadianceTemporal.plShader(m_hRCRadianceHistory4×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).