3D Lingo Dictionary > C-D > diffuseLightMap |
![]() ![]() ![]() |
diffuseLightMap
Syntax
member(whichCastmember
).shader(whichShader
).diffuseLightMap member(whichCastmember
).model(whichModel
).shader.diffuseLightMap member(whichCastmember
).model(whichModel
).shaderList{[index
]}.diffuseLightMap
Description
3D #standard
shader property; specifies the texture to use for diffuse light mapping.
When you set this property, the following properties are automatically set:
![]() |
The second texture layer of the shader is set to the texture you specified. |
![]() |
The value of |
![]() |
The value of |
![]() |
The value of |
Example
This statement sets the texture named Oval as the diffuseLightMap
property of the shader used by the model named GlassBox.
member("3DPlanet").model("GlassBox").shader.diffuseLightMap = member("3DPlanet").texture("Oval")
See also
blendFunctionList
, textureModeList
, glossMap
, reflectionMap
, specularLightMap
![]() ![]() ![]() |