This article's documentation is for anything that uses the Source engine. Click here for more information.

$donotcastshadows: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The [[QC command]] '''<code> $donotcastshadows</code>''' available for all source games since {{src06|4}}.<br/>
{{This is a|name=$donotcastshadows|QC command}} As the name implies, this parameter indicates the model should not cast shadows ''(useful for [[Viewmodel|view models]]).''
Indicates the model should not cast shadows. ''(useful for [[Viewmodel|view models]])''


{{note|Only affects runtime shadows, and not shadows from static props.}}
{{note|Only affects runtime shadows, and not shadows from static props.}}

Revision as of 21:43, 15 July 2025

$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