User Guide
988 Chapter 14: Properties
Set a property of all of the shaders of a model to the same value with this syntax (note the absence
of an index for the shaderList):
member(whichCastmember).model(whichModel).shaderList.\
whichProperty = propValue
Example
This statement sets the second shader in the shaderList of the model named Bumper to the
shader named Chrome:
member("Car").model("Bumper").shaderList[2] = \
member("Car").shader("Chrome")
This statement sets the all the shaders in the shaderList of the model named Bumper to the
shader named Chrome:
member("Car").model("Bumper").shaderList = \
member("Car").shader("Chrome")
See also
shadowPercentage
shadowPercentage
Usage
member(whichCastmember).model(whichModel).toon.shadowPercentage
member(whichCastmember).model(whichModel).shader.shadowPercentage
member(whichCastmember).shader(whichShader).shadowPercentage
Description
3D toon modifier and painter shader property; indicates the percentage of available colors that
are used in the area of the model’s surface where light does not create highlights.
The range of this property is 0 to 100, and the default value is 50.
The number of colors used by the
toon modifier and painter shader for a model is determined
by the
colorSteps property of the model’s toon modifier or painter shader.
Example
The following statement sets the shadowPercentage property of the toon modifier for the model
named Teapot to 50. Half of the colors available to the
toon modifier for this model will be used
for the shadow area of the model’s surface.
member("shapes").model("Teapot").toon.shadowPercentage = 50
See also
colorSteps, shadowStrength