$casttextureshadows: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
SirYodaJedi (talk | contribs) No edit summary  | 
				SirYodaJedi (talk | contribs)   (is there such thing as {{overlinked}})  | 
				||
| Line 1: | Line 1: | ||
{{this is a|QC command|name=$casttextureshadows|since=Source 2007}}  | {{this is a|QC command|name=$casttextureshadows|since=Source 2007}}  | ||
Only applicable for [[static prop]]s. 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.  | Only applicable for [[static prop]]s. Indicates to [[VRAD]] that the model should cast [[texture shadows|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 16:46, 3 May 2025
$casttextureshadows  is a   QC command  available in all 
 Source games since 
 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 
) the %alphatexture of any material.
Syntax
$casttextureshadows