From Second Life Wiki
Template:Needs Translation/LSL/de
Template:Needs Translation/LSL/es
Template:Needs Translation/LSL/el
Template:Needs Translation/LSL/fr
Template:Needs Translation/LSL/he
Template:Needs Translation/LSL/it
Template:Needs Translation/LSL/ja
Template:Needs Translation/LSL/ko
Template:Needs Translation/LSL/nl
Template:Needs Translation/LSL/hu
Template:Needs Translation/LSL/no
Template:Needs Translation/LSL/da
Template:Needs Translation/LSL/sv
Template:Needs Translation/LSL/tr
Template:Needs Translation/LSL/pl
Template:Needs Translation/LSL/pt
Template:Needs Translation/LSL/ru
Template:Needs Translation/LSL/uk
Template:Needs Translation/LSL/zh-Hans
Template:Needs Translation/LSL/zh-Hant
/LSL
PRIM_MATERIAL_LIGHT
Description
Constant: integer PRIM_MATERIAL_LIGHT = 7;
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 ]
Related Articles
Constants
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.