Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
enum ETranslucencyLightingMode
{
TLM_VolumetricNonDirectional,
TLM_VolumetricDirectional,
TLM_VolumetricPerVertexNonDirectional,
TLM_VolumetricPerVertexDirectional,
TLM_Surface,
TLM_SurfacePerPixelLighting,
TLM_MAX,
}
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 |
Describes how to handle lighting of translucent objets