$writeZ

From Valve Developer Community
Revision as of 02:28, 13 August 2010 by Cerulean (talk | contribs) (category)
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.