$writeZ

From Valve Developer Community
Jump to: navigation, 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.