CompileNPCClip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:%CompileNPCClip}}{{subpage|[[Material map compile flags]]}}
{{DISPLAYTITLE:%CompileNPCClip}}{{subpage|[[Material map compile flags]]}}
Compiles the texture as a '''clip''' texture which only affects [[NPC]].
Compiles the texture as a [[Clip texture|'''clip''' texture]] which only affects [[NPC]]s.


==Example==
==Example==

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
}