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

$casttextureshadows

From Valve Developer Community
Revision as of 17:46, 3 May 2025 by SirYodaJedi (talk | contribs) (is there such thing as {{overlinked}})
Jump to navigation Jump to search

$casttextureshadows is a QC command available in all Source Source games since Source 2007 Source 2007.

Only 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