CompileNPCClip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added categories)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Compiles the texture as a '''clip''' texture which only affects [[NPC]].
{{DISPLAYTITLE:%CompileNPCClip}}{{subpage|[[Material map compile flags]]}}
Compiles the texture as a [[Clip texture|'''clip''' texture]] which only affects [[NPC]]s.


==Example==
==Example==
Line 10: Line 11:


[[Category:Material System]]
[[Category:Material System]]
[[Category:List of Shader Parameters]]
[[Category:Shader parameters]]

Latest revision as of 07:04, 28 April 2025

Compiles the texture as a clip texture which only affects NPCs.

Example

LightmappedGeneric
{
	$basetexture "Tools/toolsnpcclip"
	"%compilenpcclip" 1 
	$surfaceprop default_silent
}