ETranslucencyLightingMode

Describes how to handle lighting of translucent objets

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/EngineTypes.h"

Syntax

enum ETranslucencyLightingMode
{
    TLM_VolumetricNonDirectional,
    TLM_VolumetricDirectional,
    TLM_VolumetricPerVertexNonDirectional,
    TLM_VolumetricPerVertexDirectional,
    TLM_Surface,
    TLM_SurfacePerPixelLighting,
    TLM_MAX,
}

Values

Name

Description

TLM_VolumetricNonDirectional

Lighting will be calculated for a volume, without directionality.

TLM_VolumetricDirectional

Lighting will be calculated for a volume, with directionality so that the normal of the material is taken into account.

TLM_VolumetricPerVertexNonDirectional

Same as Volumetric Non Directional, but lighting is only evaluated at vertices so the pixel shader cost is significantly less.

TLM_VolumetricPerVertexDirectional

Same as Volumetric Directional, but lighting is only evaluated at vertices so the pixel shader cost is significantly less.

TLM_Surface

Lighting will be calculated for a surface.

TLM_SurfacePerPixelLighting

Lighting will be calculated for a surface.

TLM_MAX

Remarks

Describes how to handle lighting of translucent objets

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