Template:Wrongtitle
Template:Base point
Entity Description
Controls dynamically projected shadows (produced by player models, NPCs, and physics props) in the entire map.
Warning:light_environment, env_sun and shadow_control should be used together. Each entity represents only a one aspect of a naturally unified phenomenon; Sunlight. light_environment defines the direct sunlight settings and creates (buggy, unconfigurable) dynamic shadows which can only be overridden/controlled by shadow_control. env_sun places a glow sprite in the skybox where the sunlight comes from. To make sense of it all, just make sure that the <angles> (Pitch/Yaw/Roll) are set the same for all three entities. Unfortunately shadow_control does not have the Pitch override parameter, so its Pitch will be determined by the first of its <angles>. Even more unfortunately, the Pitch override rotation cannot be switched off and is measured counter-clockwise from the horizontal (so straight down is -90 degrees) whereas the <angles> Pitch is rotation is clockwise (so straight down is +90 degrees).
Keyvalues
- ⇆#000000rgb(0,0,0)⇆ The color of the shadows.
- <float> The maximum distance the shadow is allowed to cast, in inches.
- <boolean> All Shadows Disabled
Inputs
- color ⇆#000000rgb(0,0,0)⇆
- Set the shadow color.
- Set the shadow direction.
- Set the maximum shadow cast distance.
- Set the shadow direction.
- Set shadows disabled state.
Outputs