info_lighting

From Source Entities
Jump to navigation Jump to search
Info lighting.png

info_lighting is an internal point entity present in all Source games. When a prop_static's Lighting Origin (lightingorigin) is set to this entity's targetname, the prop will set its origin to the origin of the info_lighting during compile time. This will affect its lighting and cubemap reflections.

Tip: To use this with other point entities, use the same keyvalue, but change the info_lighting to an info_target (affected entity must be a CBaseAnimating). Brush entities should use the Minimum Light Level (_minlight) keyvalue, or they can be stored in a remote location with better lighting, then teleported to the correct position.

Bug: In unknown circumstances, sometimes puts the origin in the wrong spot or doesn't move it at all. Perhaps there's a conflict with $illumposition?