CompileClip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added example)
Line 1: Line 1:
Compiles the texture as a '''clip''' texture, meaning your texture will behave the same as the tools/toolsclip.
Compiles the texture as a '''clip''' texture, meaning your texture will behave the same as the tools/toolsclip.


{{todo|vmt example}}
Example:
 
LightmappedGeneric
{
$basetexture developer/custom_clip
'''%compileclip 1'''
}


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

Revision as of 11:13, 17 December 2013

Compiles the texture as a clip texture, meaning your texture will behave the same as the tools/toolsclip.

Example:

LightmappedGeneric
{
$basetexture developer/custom_clip
%compileclip 1
}