$donotcastshadows

From Valve Developer Community
Jump to navigation Jump to search

$donotcastshadows is a QC command available in all Source Source games. As the name implies, this parameter indicates the model should not cast shadows (useful for view models).

Note.pngNote: Only affects runtime shadows, and not shadows from static props.

Syntax

$donotcastshadows