3D Lingo Dictionary > E-K > glossMap |  |

glossMap

Syntax

    member(whichCastmember).shader(whichShader).glossMap
    member(whichCastmember).model(whichModel).shader.glossMap
    member(whichCastmember).model(whichModel).shaderList{[index]}.glossMap

Description

3D `#standard` shader property; specifies the texture to use for gloss mapping.

When you set this property, the following properties are automatically set:

| The fourth texture layer of the shader is set to the texture you specified.
| The value of `textureModeList[4]` is set to `#none`.
| The value of `blendFunctionList[4]` is set to `#multiply`.

Example

This statement sets the texture named Oval as the `glossMap` value for the shader used by the model named GlassBox.

    member("3DPlanet").model("GlassBox").shader.glossMap = member("3DPlanet").texture("Oval")

See also

`blendFunctionList`, `textureModeList`, `reflectionMap`, `specularLightMap`, `diffuseLightMap`