Anti-Aliasing Methods
Which anti-aliasing method to use for Lumen 360 and 180 renders (TSR, None, DLAA, super sampling or upsampling) and where to set it.
Last updated About 4 hours ago
This guide is about using anti-aliasing with Lumen. If you are using Path-Tracing see the separate guide.
Unreal continues to improve its anti-aliasing output in each new Engine release, so for the best results, use the latest Unreal Engine version.
Overview
Anti-aliasing cleans up edges and reflections that would otherwise look unnaturally crisp or jagged.
It works by taking samples from parts of the pixel, or from previous/ future frames, and using those samples to smooth out colors and details (either within a frame or between multiple frames).
Methods that work from earlier frames need those frames to settle first. Pre-Roll Frames in the OWL 180 / 360 Renderer does this for you (see Warm-Ups).
Getting the best image results may require trying different anti-aliasing approaches such as using TSR, DLAA or None, and adding temporal and spatial samples. This guide will show you how.
Choosing an Anti-Aliasing Method
TSR is Unreal's default, so it works out of the box, and it suits lower-resolution renders, especially 8-bit ones. For high-resolution and professional renders, use None with samples: TSR's history uses VRAM that a larger Face Size needs, and its picture is less exact.
TSRgives clean edges from a single sample, but the picture is a little softer, and small, very bright lights such as the sun are drawn smaller and with less glow (Unreal'sTSRdoes the same on a normal camera).Nonewith samples gives the most exact picture and uses the leastVRAM, which leaves more for a largerFace Size(seeSuper Samplingbelow).Both need
temporal samplesfor fast-moving objects, moving shadows, glass and spinning parts.Nonealso needsspatial samplesfor clean edges on still shots. See Temporal and Spatial Samples.Screen-space reflections and dithered materials (
DitherTemporalAA) needTSR.
TSR
TSR (Temporal Super Resolution)is Unreal's defaultanti-aliasingmethod. It is set in yourProject Settings, soMovie Render Queueuses it unless you change it.How it works: each frame is rendered once, shifted by a fraction of a pixel.
TSRkeeps the result of earlier frames (its history), moves it to where each pixel has gone using the scene's motion vectors, and blends the new frame in. Over several frames this builds up smooth edges, but it's an estimate. Where the history can't be matched, such as background that has just been uncovered, see-through materials or particles,TSRhas to guess, which softens the picture.Nonewith samples renders every sample in full, so nothing is guessed.Why it uses so much
VRAM: every camera view keeps its own history, at least as large as the view. A360 Camerarenders several views (more in stereo), so the history is stored many times over and grows withFace Size. In our testsTSRneeded 3 GB more at the automatic face, and more again at a largerFace Size.On ODS renders, OWL keeps
TSR's memory use down for you, with no visible change.
None
To use
None: in yourMovie Render QueueAnti-aliasingsettings, tickOverride Anti Aliasingand selectNone. For how many samples to use, see Temporal and Spatial Samples.Epic recommends keeping
TSRfor features like Lumen, but our tests found this doesn't apply to 360/ 180 renders: Lumen lighting and reflections render correctly withNone.
DLAA
Deep Learning Anti-Aliasing (DLAA)is a system developed by NVIDIA which uses a variety of AI-trained algorithmic methods to improve theanti-aliasingin yourrenders.You can try it as an alternative to
TSRas it can offer better visual results and reduce the shimmering thatTSRcan sometimes create.DLAA can be used with both
spatialandtemporal samples(see Temporal and Spatial Samples).To do so, download the
DLSSplugin from this link and add to yourProjectorEnginepluginsfolder, then inMovie Render Queueadd theDLSS/ DLAAsection and selectDLAA:
Super Sampling
Super-sampling means rendering more pixels than your output needs and filtering them down, which gives finer detail.
For 360/ 180 renders, do this with
Face Sizerather than thescreen percentage: setFace Size(inOWL 180 / 360 Renderer>Output) to1.5xinstead ofAutomatic. OWL filters the larger faces down to your output resolution, and this works withNone.A larger
Face Sizeincreases render times andVRAMusage, so raise it in steps.
Upsampling
Upsampling/ upscaling is an anti-aliasing method that renders a % of the pixels in your output and scales the image up, which makes renders faster.
It trades quality for speed, so use it for previews and drafts rather than final 360/ 180 renders. It needs TSR or DLSS: with None, a screen percentage below 100 leaves black bands in the image, and OWL warns you.
Unreal offers upscaling via its
TSRanti-aliasingmethod, which works with NVIDIA and non-NVIDIA GPUs; orYou can use NVIDIA’s
DLSSsystem, which can provide better performance on NVIDIA GPUs.
This section covers renders. For live output from the 360 Camera/ Component, see Enable Upscaling and Screen Percentage in Output.
TSR
Select
Temporal Super Resolution (TSR)either in yourProject Settingsor in yourMovie Render QueueAnti-Aliasingsettings (Lumenrenders only).In your
Movie Render QueueConsole Variablessettings, addr.ScreenPercentagewith a value below100(try90, then75, and check if you are happy with the visual quality vs. the faster render time):
DLSS
Download the
DLSSplugin from this link and add to yourProjectorEnginepluginsfolder, then inMovie Render Queueadd theDLSS/ DLAAsection and select one of theDLSS Qualityoptions (notDLAA):DLSSwill automatically change yourscreen percentagesettings as follows:(Ultra Quality: 77%,Quality: 66.7%,Balanced: 58%,Performance: 50.0%,Ultra Performance: 33.3%):
The Anti-Aliasing Setting
The Anti-aliasing setting in Movie Render Queue is where you choose the method and the number of samples. In Movie Render Graph, set the samples on the OWL 180 / 360 Renderer node's Sampling section (see Rendering & Writing).
By default, your
Movie Render Queueanti-aliasingwill follow yourProject Settingswhich, Unreal sets toTSRas standard:
If you want to modify
anti-aliasing, then you need to add the section inMovie Render Queuesettings where you can control individual values andoverrideyourProject Settings:
Spatial Sample Count:Use this to set a value for the number ofspatial samplesthat youranti-aliasingmethod will take (see Temporal and Spatial Samples).Temporal Sample Count:Use this to set a value for the number oftemporal samplesthat youranti-aliasingmethod will take (see Temporal and Spatial Samples).Override Anti Aliasing:This overrides yourProject Settings, by selecting a newanti-aliasing method.For high-resolution and professional renders, select
None(seeChoosing an Anti-Aliasing Methodabove).
The warm-up settings in this section (
Use Camera Cut for Warm Up,Render Warm Up Frames,Render Warm Up CountandEngine Warm Up Count) are explained in Warm-Ups.
Samples, Noise and Console Variables
How many samples to use, and when to add more: Temporal and Spatial Samples.
Noise in shadows, reflections or global illumination, and objects popping into view: Noise, Shadows and Pop-In. Try these before you add samples.
Console variables, and a render that doesn't match the
Viewport: Console Variables and Game Overrides.