User Guide

Lingo Dictionary 95
Description
3D backdrop, overlay, and #standard shader property; indicates the opacity of the backdrop,
overlay, or shader.
Setting the
blend property of a shader will have no effect unless the shader’s transparent
property is set to
TRUE.
The range of this property is 0 to 100, and the default value is 100.
Example
This statement sets the blend property of the shader for the model named Window to 80. If the
transparent property of Windows shader is set to TRUE, the model will be slightly transparent.
member("House").model("Window").shader.blend = 80
See also
bevelDepth, overlay, shadowPercentage, transparent
blendConstant
Syntax
member(whichCastmember).shader(whichShader).blendConstant
member(whichCastmember).model(whichModel).shader.blendConstant
member(whichCastmember).model(whichModel).shaderList{[index]}.\
blendConstant
Description
3D #standard shader property; indicates the blending ratio used for the first texture layer of
the shader.
If the shaders
useDiffuseWithTexture property is set to TRUE, the texture blends with the color set
by the shader’s
diffuse property. If useDiffuseWithTexture is FALSE, white is used for blending.
Each of the other texture layers blends with the texture layer below it. Use the
blendConstantList property to control blending in those texture layers.
The blendConstant property works only when the shaders blendSource property is set to
#constant. For more information, see blendSource and blendSourceList.
The range of this property is 0 to 100; the default is 50.
Example
In this example, the shader list of the model named MysteryBox contains six shaders. This
statement sets the
blendConstant property of the second shader to 20. This property is affected
by the settings of the
blendFunction, blendFunctionList, blendSource, and
blendSourceList properties.
member("Level2").model("MysteryBox").shaderList[2].\
blendConstant = 20
See also
blendConstantList, blendFunction, blendFunctionList, blendSource, blendSourceList,
useDiffuseWithTexture, diffuse, diffuseColor