Shadow control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ep1 add)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=shadow_control}}
{{wrongtitle|title=shadow_control}}
{{base_point}}


==Entity Description==
==Entity Description==
Line 41: Line 42:


* {{i targetname}}
* {{i targetname}}
[[Category:Entities]]

Revision as of 16:11, 12 April 2008

Template:Wrongtitle Template:Base point

Entity Description

Shadow control.png

Controls dynamically projected shadows (produced by player models, NPCs, and physics props) in the entire map.

Keyvalues

  • color
#000000 The color of the shadows.
  • distance
<float> The maximum distance the shadow is allowed to cast, in inches.
<boolean> All Shadows Disabled

Inputs

  • color #000000
Set the shadow color.
  • direction <vector>
Set the shadow direction.
  • SetDistance <float>
Set the maximum shadow cast distance.
Set the shadow direction.
Set shadows disabled state.

Outputs