CompileNPCClip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created page)
 
No edit summary
 
(7 intermediate revisions by 3 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 8: Line 9:
  $surfaceprop default_silent
  $surfaceprop default_silent
  }
  }
[[Category:Material System]]
[[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
}