Search Results for

    Show / Hide Table of Contents

    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.

    Extension Methods

    Extensions.ReflectiveCompare<MaterialShadingModel>(MaterialShadingModel)
    Extensions.DeepClone<MaterialShadingModel>()
    Extensions.RawClone<MaterialShadingModel>()
    In This Article
    Back to top Copyright © 2012-2021 Wojciech Figat