skip to content

As rendering lead, how do you decide which effects a hybrid renderer traces, and with what ray budget, across hardware tiers from no ray-tracing support upward?

level: principalimportance: should knowfreq 25%

answer

  1. where raster visibly fails
  2. rays, builds, shading, denoise
  3. count rays per resolution
  4. roughness cutoff and fallbacks
  5. two lighting paths to test

basics

~20 s

Rank effects by what raster cannot fake (off-screen reflections, area-light shadows, dynamic bounce light) against the cost of rays, structure updates and denoising, then give each hardware tier a budget: fallbacks on the lowest, few reduced-rate effects mid-range, more on top.

solid answer

~40 s

Start from where the raster fallback visibly fails in this game: a rain-soaked city lives on reflections that screen-space techniques lose at the edge, while destruction and time of day rule out baked bounce light. Price each candidate effect as rays plus acceleration-structure updates plus hit shading plus denoising, and count rays: one ray per pixel at 1920x1080 is about 2.07 million, and half resolution on each axis is about 518,000. Then shape tiers: a complete-looking raster path with probes, a middle tier with reflections below a roughness cutoff at reduced rate, and an upper tier adding traced shadows, many-light sampling and faster probe updates. Decide whether ray tracing is optional, which means two lighting paths to author and test, or required, which drops hardware. Revisit the table when content changes the costs.

go deeper

for a junior

Recall that hybrid renderers rasterize what the camera sees and trace only some effects, with raster fallbacks when the hardware cannot trace.

for a middle

Explain what each traced effect fixes over its raster fallback and how trace resolution changes the ray count.

for a senior

Build a costed tier table from measured rays, structure updates, hit shading and denoising, and pick levers such as roughness cutoffs and reduced-rate tracing.

for a principal

Own the trade-off between reach and consistency: optional versus required ray tracing, the cost of two lighting paths, and when to move effects between tiers.

## The decision A hybrid renderer rasterizes what the camera sees directly and traces rays only for effects where rasterization falls short. Which effects to trace, at what quality and on which hardware has no single right answer. It depends on the game's content, its target platforms, how much the team can author and test, and how much frame time the rest of the renderer leaves. The rendering lead owns this call because it shapes art direction, content rules and the test matrix, not only the GPU profile. It also binds later content: once players have seen traced reflections on wet streets in one level, every later level is judged against them. ## What each traced effect buys | Effect | Raster fallback | What tracing fixes | Main cost driver | |---|---|---|---| | Reflections | screen-space reflections plus reflection probes | off-screen and hidden objects, correct placement | rays per pixel, hit shading, reflection denoising | | Shadows | shadow maps | soft area-light penumbrae, fine detail, no bias tuning | rays per light per pixel, penumbra denoising | | Ambient occlusion | screen-space AO | off-screen occluders, world-space distances | short rays, cheap per ray | | Diffuse bounce light | baked lightmaps or probes | moving lights, destruction, time of day | very noisy, heavy denoising | | Probe updates | probes baked offline | probes relit at run time | a fixed number of rays per probe, independent of resolution | The effects that pay back best are usually those whose fallbacks fail visibly in this particular game. A city soaked in rain lives on reflections, so screen-space reflections vanishing at the screen edge are the artefact players notice. A game with destructible buildings and a day-night cycle cannot bake its bounce light, which argues for traced probe updates or traced bounce light. ## Budgeting rays Count the rays before tuning anything. At 1920x1080 there are 2,073,600 pixels: - one reflection ray per pixel is about 2.07 million rays per frame; - tracing at half resolution on each axis gives 960x540, about 518,000 rays, a quarter of the pixel count; - a traced shadow for each of four lights at full resolution is about 8.3 million rays. Rays are only part of the bill. **Acceleration-structure updates** for deforming and destructible meshes, **hit shading**, which may sample textures and evaluate materials, and the **denoiser** each take a slice, and denoising can cost as much as the tracing it cleans up. Measure each part on each tier with the frame-budget and capture tools the team already uses. ## Shaping each tier - **No ray-tracing hardware**: raster shadows, screen-space reflections with probe fallback, baked or probe-based bounce light. This path must look finished, not broken. - **Entry ray-tracing tier**: one or two effects with the biggest visible payoff, often reflections below a roughness cutoff at reduced resolution, with probes above the cutoff. - **Upper tier**: more effects, full resolution for smooth reflections, traced shadows for the main light, many-light sampling such as ReSTIR, and more frequent probe updates. - **Levers inside a tier**: roughness cutoff, trace resolution, maximum ray length, number of bounces, which instances a ray type ignores by distance or mask, and simplified meshes in the bottom-level structures. ## Optional or required Keeping ray tracing optional reaches more hardware but means **two lighting paths**. Art must check every scene in both, QA multiplies its test matrix, and content rules, such as where reflection probes go and how dark a corridor may be without traced bounce light, must hold for both. Making ray tracing required removes the fallback and lets lighting rely on it, at the cost of excluding hardware without it. Neither is right in general: it depends on the hardware the audience owns and on whether the game's design depends on a dynamic world. ## Revisiting the decision 1. Write the tier table with a budget in milliseconds per effect, using measured costs of real content. 2. Agree on what each tier must never lose, such as readable shadows or a visible reflection of the player character. 3. Re-measure when content changes the inputs: a denser city, more destructible props, a new weather state. 4. Move effects between tiers when the payback is not visible to players, rather than defending a choice made before the content existed.

  • When would you make ray tracing required rather than optional?
    When the hardware the audience owns supports it widely enough, and when the design depends on a dynamic world such as full destruction or a moving sun that baked lighting cannot follow. Requiring it removes the second lighting path, its authoring and its test matrix, and lets art rely on traced light. The cost is losing players on older hardware, so it is a business decision as much as a rendering one.
  • How does destructible content change the ray budget?
    Every deforming or fracturing mesh adds refit or rebuild time and memory for its bottom-level structure on top of the rays. Budget how many such meshes may update per frame, prefer pre-fractured rigid chunks that only move instance transforms, and exclude distant debris from traced effects through instance masks, letting the raster fallback cover it.
  • Why are ray-traced probe updates attractive for a middle tier?
    Their cost is a fixed number of rays per probe, independent of screen resolution, and it can be spread over several frames. Indirect diffuse light is low-frequency, so a few rays per probe per frame, blended over several frames, converge without a per-pixel denoiser. The trade-off is lag when lighting changes quickly and the leaking and resolution limits of the probes themselves.

  • Trace every effect at full resolution or not at all.
  • An optional ray-traced path costs nothing extra to author or test.
  • The ray budget is only the ray count; structure updates and denoising are free.
  • Traced reflections on every roughness always beat probes, whatever the cost.
  • The tier table is set once at project start and never revisited.