SpatialMaterial.TextureChannel

Values

ValueMeaning
textureChannelRed0

Used to read from the red channel of a texture.

textureChannelGreen1

Used to read from the green channel of a texture.

textureChannelBlue2

Used to read from the blue channel of a texture.

textureChannelAlpha3

Used to read from the alpha channel of a texture.

textureChannelGrayscale4

Currently unused.

Meta