Search Results for

    Show / Hide Table of Contents

    Class MaterialShadingModel

    Material shading modes. Defines how material inputs and properties are combined to result the final surface color.

    Inheritance
    System.Object
    MaterialShadingModel
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class MaterialShadingModel : Enum

    Fields

    Foliage

    The foliage material. Intended for foliage materials like leaves and grass that need light scattering to transport simulation through the thin object.

    Declaration
    public const MaterialShadingModel Foliage
    Field Value
    MaterialShadingModel

    Lit

    The default lit material. The most common choice for the material surfaces.

    Declaration
    public const MaterialShadingModel Lit
    Field Value
    MaterialShadingModel

    Subsurface

    The subsurface material. Intended for materials like wax or skin that need light scattering to transport simulation through the object.

    Declaration
    public const MaterialShadingModel Subsurface
    Field Value
    MaterialShadingModel

    Unlit

    The unlit material. The emissive channel is used as an output color. Can perform custom lighting operations or just glow. Won't be affected by the lighting pipeline.

    Declaration
    public const MaterialShadingModel Unlit
    Field Value
    MaterialShadingModel

    value__

    Declaration
    public byte value__
    Field Value
    System.Byte

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat