grayscale

    Used to read from the linear (non-perceptual) average of the red, green and blue channels of a texture.

    BaseMaterial3D.swift:466
    case grayscale

    Other cases

    • case red

      Used to read from the red channel of a texture.

    • case green

      Used to read from the green channel of a texture.

    • case blue

      Used to read from the blue channel of a texture.

    • case alpha

      Used to read from the alpha channel of a texture.