$donotcastshadows
The QC command $donotcastshadows
available for all source games since Source 2006.
Indicates the model should not cast shadows. (useful for view models)
Note:Only affects runtime shadows, and not shadows from static props.
Syntax
$donotcastshadows