unreal.DistortionRenderingMode

class unreal.DistortionRenderingMode

Bases: EnumBase

Specifies how the distortion should be rendered in the post-processing pipeline

C++ Source:

  • Plugin: CameraCalibrationCore

  • Module: CameraCalibrationCore

  • File: CameraCalibrationTypes.h

PASS_AFTER_TONEMAP: DistortionRenderingMode = Ellipsis

Use the plugin post process material as a scene view extension pass after tone-mapping.

This can be used to apply distortion before other scene view extensions (i.e. CompositeCore, OpenColorIO), which is otherwise not possible with post-process materials.

Type:

3

POST_PROCESS_MATERIAL: DistortionRenderingMode = Ellipsis

Use the plugin post process material as a camera blendable.

Type:

0

PREFERRED: DistortionRenderingMode = Ellipsis

Use the lens model’s preferred rendering mode

Type:

2

TEMPORAL_SUPER_RESOLUTION: DistortionRenderingMode = Ellipsis

Apply lens distortion inside the renderer’s temporal super resolution.

Renderer passes after TSR are automatically made aware of lens distortion through renderer diplacements maps (FLensDistortionLUT). Note that if TSR is not active or if r.TSR.LensDistortion = 0, distortion will be applied later in PrimaryUpscale instead.

Type:

1