disabled

    The material will not use transparency. This is the fastest to render.

    BaseMaterial3D.swift:129
    case disabled

    Other cases

    • case alpha

      The material will use the texture’s alpha values for transparency. This is the slowest to render, and disables shadow casting.

    • case alphaScissor

      The material will cut off all values below a threshold, the rest will remain opaque. The opaque portions will be rendered in the depth prepass. This is faster to render than alpha blending, but slower than opaque rendering. This also supports casting shadows.

    • case alphaHash

      The material will cut off all values below a spatially-deterministic threshold, the rest will remain opaque. This is faster to render than alpha blending, but slower than opaque rendering. This also supports casting shadows. Alpha hashing is suited for hair rendering.

    • case alphaDepthPrePass

      The material will use the texture’s alpha value for transparency, but will discard fragments with an alpha of less than 0.99 during the depth prepass and fragments with an alpha less than 0.1 during the shadow pass. This also supports casting shadows.

    • case max

      Represents the size of the Transparency enum.