Deprecated. This constant has been deprecated.

The integer constant PRIM_MATERIAL_LIGHT has the value 7

This constant and it's underlying functionality is deprecated.
Light is no longer a prim property, it is now a face property. The same functionality is reproduced with [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]

Syntax

integer PRIM_MATERIAL_LIGHT = 7;

Caveats

See also

Constants

PRIM_MATERIAL
material FlagsDescriptionFrictionRestitution
PRIM_MATERIAL_STONE0stone0.80.4
PRIM_MATERIAL_METAL1metal0.30.4
PRIM_MATERIAL_GLASS2glass0.20.7
PRIM_MATERIAL_WOOD3wood0.60.5
PRIM_MATERIAL_FLESH4flesh0.90.3
PRIM_MATERIAL_PLASTIC5plastic0.40.7
PRIM_MATERIAL_RUBBER6rubber0.90.9
PRIM_MATERIAL_LIGHT7light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]0.60.5
PRIM_POINT_LIGHT

Functions

Events

Deep notes

History

Lighting in SL has had a complex history , for a long time SL had software lighting but it was a major bottle neck for SL rendering. It was with the 2.0 rendering engine that LL dropped software lighting and introduced FullBright, most applications of lighting at that time were to make prims fullbright (lighting causes colors to dull). Later on lighting was reintroduced this time as hardware lighting.