$donotcastshadows: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
The [[QC command]] '''<code> $donotcastshadows</code>''' available for all source games since {{src06|4}}.<br/>
The [[QC command]] '''<code> $donotcastshadows</code>''' available for all source games since {{src06|4}}.<br/>
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.}}


== Syntax ==
== Syntax ==

Revision as of 21:09, 23 August 2024

The QC command $donotcastshadows available for all source games since Source 2006 Source 2006.
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