SpatialMaterial.roughnessTextureChannel

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 roughnessTextureChannel [@property getter]
  2. long roughnessTextureChannel [@property setter]
    struct SpatialMaterial
    @nogc nothrow @property
    void
    roughnessTextureChannel
    (
    long v
    )

Meta