Navigation
API > API/Runtime > API/Runtime/Engine
Determines how the pixel depth offset is evaluated and applied. Must match PODM_LEGACY in MaterialTemplace.ush.
| Name | EPixelDepthOffsetMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum EPixelDepthOffsetMode
{
PDOM_Legacy,
PDOM_AlongCameraVector,
}
Values
| Name | Remarks |
|---|---|
| PDOM_Legacy | This is the legacy mode where PDO is applied differently for Depth (along View Forward) and world position (along Camera Vector). |
| PDOM_AlongCameraVector | PDO is applied along the Camera Vector for Depth and World Position altogether. |