Difference between revisions of "PRIM MATERIAL LIGHT"

From Second Life Wiki
Jump to navigation Jump to search
m
m (inserted deprecate template)
Line 1: Line 1:
{{#vardefine:article_type|constant}}
{{#vardefine:type|Constant}}
{{LSL_Generic/deprecated|none}}
{{LSL Constant
{{LSL Constant
|name=PRIM_MATERIAL_LIGHT
|name=PRIM_MATERIAL_LIGHT
Line 6: Line 9:
|examples=
|examples=
|constants=
|constants=
|deprecated=none
{{LSL ConstRow|PRIM_MATERIAL}}
{{LSL ConstRow|PRIM_MATERIAL}}
{{!}}}
{{!}}}

Revision as of 00:40, 24 April 2010


Emblem-important.png Deprecated Constant
(This constant has been deprecated.)

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 ]

Caveats

  • This constant has been deprecated.


Related Articles

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.

Search JIRA for related Issues

Signature

integer PRIM_MATERIAL_LIGHT = 7;