$writeZ

From Valve Developer Community
Revision as of 10:52, 15 February 2010 by TomEdwards (talk | contribs)
Jump to navigation Jump to search
$writeZ 1

Found in the DecalModulate shader. Forces the material to set the z value in the depth buffer (so things z-buffer against it). By default, the modulation shader doesn't set any value.