MTA:Eir/functions/setElementRenderMode/validProps

From Multi Theft Auto: Wiki
Revision as of 19:11, 9 April 2014 by The GTA (talk | contribs)
Jump to navigation Jump to search
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