$writeZ: Difference between revisions
Jump to navigation
Jump to search
m (category) |
No edit summary |
||
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: | [[Category:Shader parameters|w]] |
Latest revision as of 10:08, 15 August 2023
$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.