$casttextureshadows: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''{{code|$casttextureshadows}}''' is a [[QC command]] applicable for [[Prop_static|Static Props]]. Indicates the model should cast texture-based shadows from {{ent|$alphatest}} and {{ent|$translucent}} materials while compiling map in [[VRAD]].
'''{{code|$casttextureshadows}}''' is a [[QC command]] applicable for [[Prop_static|Static Props]]. Indicates to [[VRAD]] that the model should cast texture-based shadows from the alpha channel of the {{cmd|$basetexture}} of materials with {{cmd|$alphatest}} or {{cmd|$translucent}}, or {{only|{{gmod}}}} the {{cmd|%alphatexture}} of any material.


== Syntax ==
== Syntax ==

Revision as of 10:21, 3 April 2025

$casttextureshadows is a QC command applicable for Static Props. Indicates to VRAD that the model should cast texture-based shadows from the alpha channel of the $basetexture of materials with $alphatest or $translucent, or (only in Garry's Mod) the %alphatexture of any material.

Syntax

$casttextureshadows