DiffuseMode

    BaseMaterial3D.swift:399
    enum DiffuseMode

    Cases

    • case burley

      Default diffuse scattering algorithm.

    • case lambert

      Diffuse scattering ignores roughness.

    • case lambertWrap

      Extends Lambert to cover more than 90 degrees when roughness increases.

    • case toon

      Uses a hard cut for lighting, with smoothing affected by roughness.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (134) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features