$writeZ: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
$writeZ 1 | |||
[[Category: | 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: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.