3D Lingo Dictionary > O-S > shininess |
![]() ![]() ![]() |
shininess
Syntax
member(whichCastmember
).shader(whichShader
).shininess member(whichCastmember
).model(whichModel
).shader.shininess member(whichCastmember
).model(whichModel
).shaderList[shaderListIndex
].shininess
Description
3D standard shader property; allows you to get or set the shininess of a surface. Shininess is defined as the percentage of shader surface devoted to highlights. The value is an integer between 0 and 100, with a default of 30.
All shaders have access to the #standard
shader properties; in addition to these standard shader properties shaders of the types #engraver
, #newsprint
, and #painter
have properties unique to their type. See the newShader
for more information.
Example
This statement sets the shininess property of the first shader in the shader list of the model gbCyl3 to 60. Sixty percent of the surface of the shader will be dedicated to highlights.
member("Scene").model("gbCyl3").shader.shininess = 60
![]() ![]() ![]() |