$writeZ: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
m (category) |
||
Line 3: | Line 3: | ||
Found in the <code>[[DecalModulate]]</code> 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. | Found in the <code>[[DecalModulate]]</code> 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. | ||
[[Category:List of Shader Parameters]] | [[Category:List of Shader Parameters|W]] |
Revision as of 02:28, 13 August 2010
$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.