SpatialMaterial.aoTextureChannel

Specifies the channel of the aoTexture in which the ambient occlusion 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 aoTextureChannel [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    aoTextureChannel
    ()
  2. long aoTextureChannel [@property setter]

Meta