Skip to main content
Path Tracing

Render Settings

Turn path tracing on for an OWL 360 or 180 render in Movie Render Queue or Movie Render Graph, set samples and Reference Motion Blur, and start from suggested settings for moving and still shots.

Last updated About 5 hours ago

This article covers the settings a path-traced 360 or 180 render takes in Movie Render Queue and Movie Render Graph: turning path tracing on, samples, Reference Motion Blur, console variables, and suggested settings to start from. Set your scene up first with Path Tracing: Overview and Scene Set-Up and Path Tracing: Post Process Volume Settings.

Turn On Path Tracing in Movie Render Queue

In your job's OWL 180 / 360 Renderer settings, tick Path Tracing in the Rendering & Writing section.

  • The 360 Camera's own Path Tracing tickbox only changes its live image. A render uses this setting.

  • Pre-Roll Frames: with Path Tracing on, Auto renders no pre-roll frames, because the path tracer keeps no history between frames. A value you type is used as typed.

Turn On Path Tracing in Movie Render Graph

Tick Path Tracing on the OWL 180 / 360 Renderer node. Set the samples in the node's Sampling section and the graph's Sampling Method node. The node's Path Tracing section then shows:

  • Reference Motion Blur: as in Movie Render Queue, below.

  • Denoiser and Frame Count: choose the denoiser for this render. See Path Tracing: Denoisers.

The Anti-Aliasing and console variable steps below are the Movie Render Queue ones.

Samples

In a path-traced render, samples set how many light rays make up each pixel. The clean-up that anti-aliasing does in a Lumen render is done by the denoiser instead.

  1. Add the Anti-Aliasing setting to your Movie Render Queue job. The render takes its samples from here, not from the Post Process Volume's Samples Per Pixel.

  2. Tick Override Anti Aliasing and set Anti Aliasing Method to None.

  3. Spatial Sample Count: how many light rays are traced for each pixel. More rays give more detail and less grain. The Post Process Volume's Samples Per Pixel previews this in the editor.

  4. Temporal Sample Count: how many moments within each frame are traced, each with the spatial samples above. More temporal samples follow movement and light through the frame more accurately, and give motion blur with Reference Motion Blur.

Each doubling of the total samples roughly doubles the render time. Warm-up settings are covered in Warm-Ups for Path Tracing.

Reference Motion Blur

This decides whether the temporal samples are added together before or after the denoiser runs. For moving shots, we highly recommend ticking it.

  • Ticked: post-process motion blur is off. The path tracer adds up all the spatial and temporal samples into one image, then the denoiser runs once.

    • You get real camera-like motion blur from averaging the moments within each frame.

    • Any missing detail or over-bright pixels in the samples add up too, and can confuse the denoiser. Use a large number of temporal samples: they give cleaner pixels, so you rely less on the denoiser.

    • The usual starting point is 2048 temporal samples and 1 spatial sample. Each moment already gets a spatial sample, so you don't need more than 1. More samples take more render time.

  • Unticked: each moment's samples are denoised before the temporal samples are combined. This loses the natural motion blur. Use it only if ticking Reference Motion Blur gives you artifacts, such as problems with particles, that more temporal samples don't fix.

Console Variables

Some path tracing settings are only available as console variables. Add them to your Movie Render Queue job's Console Variables settings with the + button. Leave out any you don't have a reason for: Epic recommends removing console variable overrides you don't need.

  • r.PathTracing.MaxBounces 8: fewer bounces can render faster. If dark corners look too dark, raise it.

  • r.PathTracing.MaxPathIntensity: reduces fireflies by limiting how bright a light path can be. The default comes from the Post Process Volume (Max Path Intensity, 24). Lower values remove more fireflies but make the lighting less accurate.

  • r.PathTracing.FilterWidth 1.5 to 2.0: 1.5 is sharper and 2.0 smoother. Unreal's default is 3.0, the softest.

  • r.Streaming.FullyLoadUsedTextures 1: loads every texture the shot uses in full before rays are fired. Very important for high resolution renders.

  • r.PathTracing.VisibleLights 1: makes light sources themselves visible to the camera, for example a light's glowing shape seen directly in shot. Lights cast light whether or not this is set. It is off by default; 2 makes only the sky visible.

  • r.D3D12.GPUTimeout 0: stops the graphics card timing out when a frame takes a long time. The machine may freeze for a while, but the frame normally renders. Very important for high resolution renders. Unreal only reads it at start-up, so it has no effect in Movie Render Queue's console variables: add r.D3D12.GPUTimeout=0 under [SystemSettings] in your project's Config/DefaultEngine.ini and restart the editor.

Suggested Settings: Moving Shots

These settings, recommended by Epic, suit most moving shots. Add them to the console variables above.

  • Denoiser: NFOR, with r.PathTracing.SpatialDenoiser.Type 1, r.PathTracing.TemporalDenoiser.Name NFOR and r.NFOR.FrameCount 2 (two frames before, two after and the current frame).

  • Spatial Sample Count 1, Temporal Sample Count 2048.

  • Reference Motion Blur ticked.

  • Warm-ups: as in Warm-Ups for Path Tracing for a moving shot.

  • Before you queue a full moving shot, render three or four frames and check the time per frame. NFOR with 2048 temporal samples is the slowest combination here, and stereo projections take longer still.

Suggested Settings: Still Shots

Still shots can be set up in two ways. Temporal samples and a temporal denoiser can still help, so that moving things such as particles, foliage and lights sit naturally in the shot.

Spatial Samples Only

Uses the spatial denoiser and spatial samples only. This needs a lot of graphics memory.

  • Denoiser: NNE, with r.PathTracing.SpatialDenoiser.Type 0 and r.PathTracing.Denoiser.Name NNEDenoiser.

  • Spatial Sample Count 1024; raise it to 2048 if the result isn't clean enough. Temporal Sample Count 1.

  • Reference Motion Blur unticked.

  • Warm-ups: as in Warm-Ups for Path Tracing for a still shot.

Spatial and Temporal Samples

Mixes spatial and temporal samples with the temporal denoiser, to place moving things better.

  • Denoiser: NFOR, with r.PathTracing.SpatialDenoiser.Type 1, r.PathTracing.TemporalDenoiser.Name NFOR and r.NFOR.FrameCount 1 (one frame before, one after and the current frame).

  • Spatial Sample Count 32, Temporal Sample Count 32.

  • Reference Motion Blur ticked.

  • Warm-ups: as in Warm-Ups for Path Tracing for a still shot.

Trouble-Shooting

  • The render doesn't match the Viewport: Movie Render Queue applies its Game Overrides even when you haven't added them to the job. Leave them at their defaults, and see Game Overrides in Console Variables and Game Overrides for how to find which setting causes the difference.

  • Bright single pixels (fireflies): lower Max Path Intensity (see Path Tracing: Post Process Volume Settings), or use a denoiser that removes them. NFOR doesn't, so with NFOR lower Max Path Intensity first.

  • The render stops on a long frame: the graphics card has timed out. Set r.D3D12.GPUTimeout=0 in DefaultEngine.ini, as in Console Variables above.