shadow_control is an existing point entity available with all versions of Mapbase.

An entity to control the shadows in the map.


Mapbase uses Saul Rennison’s dynamic RTT shadow angles from the VDC, which means shadows draw their direction from nearby lights and don’t stay in one constant direction. This feature is off by default and must be enabled through an input/keyvalue in shadow_control, an option from later Source games.



KeyValues

- Enable Local Light Shadows (enableshadowsfromlocallights) <choices>
Enables RTT dynamic shadow angles, which cause shadows to face away from the nearest light source instead of always using this entity's direction. This is a new feature and the original Half-Life 2 had no dynamic shadow angles. Leave this off if they are not desired.

Inputs

- SetShadowsFromLocalLightsEnabled <bool>
Toggles shadows from local lights.