Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include | #include "Engine/EngineTypes.h" |
Syntax
enum ESubstrateShadingModel
{
SSM_Unlit,
SSM_DefaultLit,
SSM_ThinTranslucent,
SSM_SubsurfaceMFP,
SSM_SubsurfaceProfile,
SSM_SubsurfaceWrap,
SSM_SubsurfaceThinTwoSided,
SSM_VolumetricFogCloud,
SSM_Hair,
SSM_Eye,
SSM_Cloth,
SSM_ClearCoat,
SSM_SingleLayerWater,
SSM_LightFunction,
SSM_PostProcess,
SSM_Decal,
SSM_UI,
SSM_NUM,
}
Values
Name | Description |
---|---|
SSM_Unlit | |
SSM_DefaultLit | |
SSM_ThinTranslucent | |
SSM_SubsurfaceMFP | |
SSM_SubsurfaceProfile | |
SSM_SubsurfaceWrap | |
SSM_SubsurfaceThinTwoSided | |
SSM_VolumetricFogCloud | |
SSM_Hair | |
SSM_Eye | |
SSM_Cloth | |
SSM_ClearCoat | |
SSM_SingleLayerWater | |
SSM_LightFunction | |
SSM_PostProcess | |
SSM_Decal | |
SSM_UI | |
SSM_NUM | Number of unique shading models. |
Remarks
Specifies the Substrate runtime shading model summarized from the material graph Not exposed in UI, only used in code. Those states are deducted from the material graph and map to a specific domain/shading state.