$nocull

From Valve Developer Community
Revision as of 01:38, 13 June 2011 by Deity Link (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2 Makes the material appear on the reverse side of the surface it is applied to. Generally only useful when used in conjunction with $translucent or $alpha.

Note.pngNote:Has no effect on world brushes (so tie each one to func_detail).
Icon-Bug.pngBug:Cannot be used with $translucent on models. Use $alphatest instead.  [todo tested in ?]

VMT Syntax and Examples

$nocull <bool>
LightmappedGeneric
{
	$basetexture glass\window001a
	$nocull 1
}
VertexLitGeneric
{
	$basetexture models\items\medkit
	$nocull 1
}
VertexLitGeneric
{
	$basetexture models\props_2fort\blue_window001_glass
	$alphatest 1
	$nocull 1
}