$donotcastshadows: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(remove bool flag)
Line 1: Line 1:
The [[QC command]] '''<code> $donotcastshadows</code>''' makes a model not cast shadows.
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]])''


== Syntax ==
== Syntax ==
  $donotcastshadows "1"
  $donotcastshadows


[[Category:QC Commands|donotcastshadows]]__NOTOC__
[[Category:QC Commands|donotcastshadows]]__NOTOC__

Revision as of 01:38, 21 March 2023

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)

Syntax

$donotcastshadows