SpatialMaterial.metallicTextureChannel

Specifies the channel of the metallicTexture in which the metallic information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.

  1. SpatialMaterial.TextureChannel metallicTextureChannel [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    metallicTextureChannel
    ()
  2. long metallicTextureChannel [@property setter]

Meta