Enum MaterialShadingModel
Material shading modes. Defines how material inputs and properties are combined to result the final surface color.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public enum MaterialShadingModel : byte
Fields
Name | Description |
---|---|
Foliage | The foliage material. Intended for foliage materials like leaves and grass that need light scattering to transport simulation through the thin object. |
Lit | The default lit material. The most common choice for the material surfaces. |
Subsurface | The subsurface material. Intended for materials like vax or skin that need light scattering to transport simulation through the object. |
Unlit | The unlit material. Emissive channel is used as an output color. Can perform custom lighting operations or just glow. Won't be affected by the lighting pipeline. |