Shadow control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: Fixed inputs)
Line 19: Line 19:
* {{i targetname}}
* {{i targetname}}


* '''color'''
* '''color {{color}}'''
: {{color}} Set the shadow color.
: Set the shadow color.


* '''direction'''
* '''direction <vector>'''
: Set the shadow direction.
: Set the shadow direction.


* '''SetDistance'''
* '''SetDistance <float>'''
: Set the maximum shadow cast distance.
: Set the maximum shadow cast distance.


* '''SetAngles'''
* '''SetAngles <[[QAngle|angles]]>'''
: Set the shadow direction.
: Set the shadow direction.



Revision as of 17:15, 6 April 2006

Entity Description

Shadow control.png

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

Keyvalues

  • Shadow Color
#000000 The color of the shadows.
  • Maximum Distance
The maximum distance the shadow is allowed to cast, in inches.


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.

Outputs

See Also

  • Add links to related articles, entities, or tutorials here.