$writeZ

From Valve Developer Community
Revision as of 20:52, 8 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search
"$writeZ" 1
  • Only used by materials using the modulation shader.
  • Setting $writeZ to 1 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 the z value.