Shadow control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Keyvalues: format)
m (ep1 add)
Line 15: Line 15:
* '''distance'''
* '''distance'''
: <float> The maximum distance the shadow is allowed to cast, in inches.
: <float> The maximum distance the shadow is allowed to cast, in inches.
* '''{{ep1 add|disableallshadows}}'''
: {{boolean}} All Shadows Disabled


==Inputs==
==Inputs==
Line 31: Line 34:
* '''SetAngles <[[QAngle|angles]]>'''
* '''SetAngles <[[QAngle|angles]]>'''
: Set the shadow direction.
: Set the shadow direction.
* '''{{ep1 add|SetShadowsDisabled <integer>}}'''
: Set shadows disabled state.


==Outputs==
==Outputs==

Revision as of 15:49, 5 August 2006

Template:Wrongtitle

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