Search Results for

    Show / Hide Table of Contents

    Class MaterialTransparentLightingMode

    Transparent material lighting modes.

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

    Fields

    Surface

    Default directional lighting evaluated per-pixel at the material surface. Use it for semi-transparent surfaces - with both diffuse and specular lighting components active.

    Declaration
    public const MaterialTransparentLightingMode Surface
    Field Value
    MaterialTransparentLightingMode

    SurfaceNonDirectional

    Non-directional lighting evaluated per-pixel at material surface. Use it for volumetric objects such as smoke, rain or dust - only the diffuse lighting term is active (no specular highlights).

    Declaration
    public const MaterialTransparentLightingMode SurfaceNonDirectional
    Field Value
    MaterialTransparentLightingMode

    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