threshold
 
 
 

Syntax:

threshold = <scalar>

Range:

0-1

Default:

0

Purpose:

This can be used so that only the brightest elements of shading glow. For example, one can make specular highlights twinkle by using threshold. If the threshold is .9, for example, then only the brightest portions of a glowing object will glow.

Comments:

Sometimes it helps to lower the glow_intensity on the shader and greatly increase the specular color (beyond 255) to insure that only the specular highlight will glow.

Example:

threshold = .5