User Guide

Shaders 359
Properties of the painter shader
The
#painter shader gives the model a painted effect. Use these properties to work with the
painter shader:
Properties of the newsprint shader
The
#newsprint shader creates a dithering effect similar to a newspaper photograph. Use these
properties to work with the newsprint shader:
Property Access Description Default
name
Get and set Name of shader None
style
Get and set Possible values:
#toon: sharp transitions between
available colors
#gradient: smooth transitions between
available colors
#blackAndWhite: sharp transitions
between black and white
#gradient
colorSteps
Get and set Number of color steps used for lighting
calculations
2
shadow
Percentage
Get and set Percentage of lighting intensity that is
the threshold between highlight and
shadow
50
highlight
Percentage
Get and set Percentage of lighting steps to be
treated as highlight
50
shadowStrength
Get and set Factor controlling darkness of
shadowed areas
1.0
highlight
Strength
Get and set Factor controlling brightness of
highlighted areas
1.0
Property Access Description Default
name
Get and set Name of shader None
brightness
Get and set Value controlling amount of white
in shader
0.0
density
Get and set Value controlling density of dots in
newsprint image
45.0