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
(Todo - "Unknown" doesn't help at all)
No edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{todo|What does this do?}}
{{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]]).''


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


== Syntax ==
== Syntax ==
{{todo|How is it used?}}
$donotcastshadows
 
Unknown
 
 
 
[[Category:QC Commands|donotcastshadows]]__NOTOC__

Latest revision as of 19:30, 16 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