textureWeight
textureWeight: number | undefined
The ratio in [0, 1] with which to mix the color sampled from the texture with the surface's color. A value of 0.0 uses only the surface color. A value of 1.0 uses only the texture color. A value of 0.5 uses an even mix of both.
@note This affects only the red, green, and blue components of the color. The alpha sampled from the texture is always multiplied by the surface color's alpha.
@note Defaults to 1.0
Defined in
- core/common/src/TextureMapping.ts Line 178
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.