3D Lingo Dictionary > O-S > specular (light) |  |

specular (light)

Syntax

    member(whichCastmember).light(whichLight).specular

Description

3D light property; allows you to get or set whether specularity is on `(TRUE)` or off `(FALSE)`. Specularity refers to the ability to have a highlight appear on a model where the light hitting the model is reflected toward the camera. The shininess of the model's shader determines how large the specular portion of the highlight is. The value for this property is ignored for ambient lights. The default value for this property is `TRUE`.

Note: Turning off this property may increase performance.

Example

This statement sets the specular property of the light omni2 to `FALSE`. This light does not cause highlights. If this is the only light currently shining in the scene, there will be no specular highlights on any of the shaders in the scene.

    member("3d world").light("omni2").specular = FALSE

See also

`shininess`, `specularLightMap`