ERefractionMode

Determines how the refraction offset should be computed for the material.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

enum ERefractionMode
{
    RM_IndexOfRefraction,
    RM_PixelNormalOffset,
}

Values

Name

Description

RM_IndexOfRefraction

Refraction is computed based on the camera vector entering a medium whose index of refraction is defined by the Refraction material input.

RM_PixelNormalOffset

The refraction offset into Scene Color is computed based on the difference between the per-pixel normal and the per-vertex normal.

Remarks

Determines how the refraction offset should be computed for the material.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss