unreal.DMMaterialFlagsGeneral¶
- class unreal.DMMaterialFlagsGeneral¶
Bases:
EnumBaseEDMMaterial Flags General
C++ Source:
Plugin: DynamicMaterial
Module: DynamicMaterialEditor
File: DynamicMaterialModelEditorOnlyData.h
- DITHERED_LOD_TRANSITION: DMMaterialFlagsGeneral = Ellipsis¶
Whether meshes rendered with the material should support dithered LOD transitions.
- Type:
32
- ENABLE_DISPLACEMENT_FADE: DMMaterialFlagsGeneral = Ellipsis¶
Enables fading out and disabling of dynamic displacement in the distance, as displacement becomes unnoticeable.
- Type:
64
- FULLY_ROUGH: DMMaterialFlagsGeneral = Ellipsis¶
Forces the material to be completely rough. Saves a number of instructions and one sampler.
- Type:
16
- GENERATE_SPHERICAL_PARTICLE_NORMALS: DMMaterialFlagsGeneral = Ellipsis¶
Whether to generate spherical normals for particles that use this material.
- Type:
128
- NORMAL_CURVATURE_TO_ROUGHNESS: DMMaterialFlagsGeneral = Ellipsis¶
Reduce roughness based on screen space normal changes.
- Type:
8
- TANGENT_SPACE_NORMAL: DMMaterialFlagsGeneral = Ellipsis¶
Whether the material takes a tangent space normal or a world space normal as input. (TangentSpace requires extra instructions but is often more convenient).
- Type:
2
- TWO_SIDED: DMMaterialFlagsGeneral = Ellipsis¶
Indicates that the material should be rendered without backface culling and the normal should be flipped for backfaces.
- Type:
1
- USES_DISTORTION: DMMaterialFlagsGeneral = Ellipsis¶
Indicates that the material and its instances can be used with distortion. This will result in the shaders required to support distortion being compiled which will increase shader compile time and memory usage.
- Type:
4