Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | ESubstrateShadingModel |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #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 | Remarks |
|---|---|
| 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. |