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.
| Setting | Effect |
|---|---|
| Preview | Turns the preview on or off |
| View | Shows Lit, Albedo, Albedo AO, AO or Normals |
| AO rays | Rays per sample, 1 to 16 |
| AO radius | How far ambient occlusion reaches, 0.05 m to 50 m |
| Samples per frame | Samples added each frame, 1 to 32 |
| Max samples | How many samples complete the image, 16 to 8192 |
| Selection only | Traces only the selected objects |
| Ray tracing | Chooses 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.