*setspecularity()
Sets the global specular highlight values.
Syntax
*setspecularity(r,g,b,shininess)
Type
hm.cfg Commands
Description
Sets the global specular highlight values. Specular reflection from an object produces highlights. The amount of specular reflection seen depends on the location of the viewpoint. It is brightest along direct angle of reflection.
Inputs
- r,g,b
- The red, green and blue components of the reflected light range (0.0-1.0).
- shininess
- The shininess value. Higher values indicate smaller and brighter highlights (0-128).
Example
*setspecularity(1.0,1.0,1.0,128)
*setspecularity(0.7,0.7,0.7,64)
*setspecularity(0.5,0.5,0.5,32)