Get RAPTOR

Ray-traced preview

The ray-traced preview shows baked lighting live in the 3D view, refining the image sample by sample. It does not change your scene or lightmaps.

Requires Unity 6000.3 or newer

Ray-traced preview is disabled for incompatible versions.

Turning it on

Use any of these:

  • the chip at the top right of the 3D view.
  • Choose Render → Ray-traced preview in the top bar.
  • Choose Ray-traced preview in the 3D view's menu.

The top left of the 3D view shows the sample count, such as Samples 120/1024. Moving the camera restarts the image.

Selecting is disabled while the preview is on. Flying, orbiting and the Lights tool still work.

What it shows

The preview uses the same input as a bake:

  • Objects: RAPTOR models, objects set to contribute to global illumination, and Bakery light meshes. Hidden and non-static objects are left out.
  • Lights: Bakery lights, or Unity lights set to Baked or Mixed.
  • Bounce and ambient occlusion: the scene's lighting settings.
  • The sky: the scene's sky from the Sky panel. Changing it restarts the image.

Hide UI

Hide UI in the 3D view's menu hides outlines, gizmos and icons, turns off editing, and shows the skybox and effects. It works with or without the ray-traced preview.

Preview settings

Open Preview settings from the 3D view's menu or the Render menu. Or use Tools → RAPTOR → Render → Preview Settings.

SettingEffect
PreviewTurns the preview on or off
ViewShows Lit, Albedo, Albedo AO, AO or Normals
AO raysRays per sample, 1 to 16
AO radiusHow far ambient occlusion reaches, 0.05 m to 50 m
Samples per frameSamples added each frame, 1 to 32
Max samplesHow many samples complete the image, 16 to 8192
Selection onlyTraces only the selected objects
Ray tracingChooses Hardware, which is faster, or Compute for GPUs without hardware ray tracing

The card's Post-processing switches also apply to the preview. Rebuild rebuilds the preview from the scene.

Settings → Modules → Environment → Ray tracing shows what this PC supports. The preview is disabled on GPUs without hardware or compute ray tracing.