MTA:Eir/functions/setElementRenderMode/validProps: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" |- ! Name ! Internal Type ! Description ! Default Value |- |lighting |Boolean |This is a switch to the entire lighting status of an entity. If true, lighting...")
 
No edit summary
Line 38: Line 38:
|reflection
|reflection
|Boolean
|Boolean
|This is a switch that controls GTA:SA reflection technology for entities. If true, the entity is a allowed to display reflection effects on reflective materials. Several game objects use reflections.
|This is a switch that controls GTA:SA reflection technology for entities. If true, the entity is allowed to display reflection effects on reflective materials. Several game objects use reflections.
|true
|true
|-
|-

Revision as of 19:11, 9 April 2014

Name Internal Type Description Default Value
lighting Boolean This is a switch to the entire lighting status of an entity. If true, lighting calculations are allowed on the entity. Otherwise all lighting computations are dropped. Setting this flag to false for entities that never expected no lighting can cause undefined behavior. true
lighting_ambient Boolean This is a switch that controls ambient lighting calculations for entities. If true, ambient lighting colors are added to the final color. true
lighting_directional Boolean This is a switch that controls directional lighting calculations for entities. If true, directional lighting is added to the final color. true
lighting_point Boolean This is a switch that controls point lighting calculations for entities. If true, point lighting colors are added to the final color. true
lighting_spot Boolean This is a switch that controls spot lighting calculations for entities. If true, spot lighting colors are added to the entity's final color. true
lighting_material Boolean This is a switch that controls special material lighting calculations for entities. If true, materials are allowed to create special light sources that affect only them. Only vehicles are using material lighting. true
reflection Boolean This is a switch that controls GTA:SA reflection technology for entities. If true, the entity is allowed to display reflection effects on reflective materials. Several game objects use reflections. true
alphaClamp Float This is a number that specifies the alpha value that is used for alpha testing. In the original world render mode, any pixel whose alpha value is below the alphaClamp value is cut away. Other world render modes behave smarter. 100