3D Lingo Dictionary > C-D > density |
![]() ![]() ![]() |
density
Syntax
member(whichCastmember
).shader(whichShader
).density member(whichCastmember
).model(whichModel
).shader.densitymember(
whichCastmember
).model(
whichModel
).shaderList
{[index
]}.
density
Description
3D #engraver
and #newsprint
shader property; adjusts the number of lines or dots used to create the effects of these specialized shader types. Higher values result in more lines or dots.
For #engraver
shaders, this property adjusts the number of lines used to create the image. The range is 0 to 100 and the default value is 40.
For #newsprint
shaders, this property adjusts the number of dots used to create the image. The value can be from 0 to 100 and the default value is 45.
Example
This statement sets the density
property of the shader named EngShader to 10. The lines used by this #engraver
shader to create its stylized image will be coarse and far apart.
member("scene").shader("EngShader").density = 10
This statement sets the density
property of the shader gbShader to 100. The dots used by this #newsprint
shader to create its stylized image will be very fine and close together.
member("scene").shader("gbShader").density = 100
See also
![]() ![]() ![]() |