Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
enum EMaterialShadingModel
{
MSM_Unlit,
MSM_DefaultLit,
MSM_Subsurface,
MSM_PreintegratedSkin,
MSM_ClearCoat,
MSM_SubsurfaceProfile,
MSM_TwoSidedFoliage,
MSM_Hair,
MSM_Cloth,
MSM_Eye,
MSM_SingleLayerWater,
MSM_ThinTranslucent,
MSM_NUM,
MSM_FromMaterialExpression,
MSM_MAX,
}
Name |
Description |
---|---|
MSM_Unlit |
|
MSM_DefaultLit |
|
MSM_Subsurface |
|
MSM_PreintegratedSkin |
|
MSM_ClearCoat |
|
MSM_SubsurfaceProfile |
|
MSM_TwoSidedFoliage |
|
MSM_Hair |
|
MSM_Cloth |
|
MSM_Eye |
|
MSM_SingleLayerWater |
|
MSM_ThinTranslucent |
|
MSM_NUM |
Number of unique shading models. |
MSM_FromMaterialExpression |
Shading model will be determined by the Material Expression Graph, by utilizing the 'Shading Model' MaterialAttribute output pin. |
MSM_MAX |
Specifies the overal rendering/shading model for a material
Check UMaterialInstance::Serialize if changed!