MAXScript Language Reference > 3ds Max Objects > TextureMap : Material > TextureMap Types >

# Mix : TextureMap

    Mix - superclass: textureMap; super-superclass:material - classID: #(560, 0)

Value > MAXWrapper > Material > TextureMap > Mix

| Materials and Maps - Quick Navigation

Constructor

    mix...
    mixTextures...

Properties

    <Mix>.color1 Color default: (color 0 0 0) -- animatable, alias: Color_1

The first color to be mixed.

    <Mix>.map1 TextureMap default: undefined -- alias: Map_1

Sets a map to be used instead of color1 .

    <Mix>.map1Enabled Boolean default: true -- alias: Map_1_Enable

When on, map1 is enabled.

    <Mix>.color2 Color default: (color 255 255 255) -- animatable, alias: Color_2

The second color to be mixed.

    <Mix>.map2 TextureMap default: undefined -- alias: Map_2

Sets a map to be used instead of color2.

    <Mix>.map2Enabled Boolean default: true -- alias: Map_2_Enable

When on, map2 is enabled.

    <Mix>.mixAmount Float default: 0.0 -- animatable, percentage

Determines the proportion of the mix. 0 means only color1 is visible on the surface, 1 means only color2 is visible.

    <Mix>.mask TextureMap default: undefined

You can also use a map instead of the mix amount. The two colors will mix in greater or lesser degree according to the intensity of the map.

    <Mix>.maskEnabled Boolean default: true -- alias: MaskEnable

When on, mask is used instead of mixAmount .

    <Mix>.useCurve Boolean default: false

Determines whether the Mixing Curve effects the mix.

    <Mix>.lower Float default: 0.3 -- animatable <Mix>.upper Float default: 0.7 -- animatable

Adjusts the level of the upper and lower limits. If the two values are the same, the two materials will meet at a definite edge. Wider ranges give more gradual mixing.

    <Mix>.output StandardTextureOutput

See TexOutputClass for the StandardTextureOutput properties.

#### See Also

- TextureMap Common Properties, Operators, and Methods

- Material Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods