$ignorez: Difference between revisions
Jump to navigation
Jump to search
Note:$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. In
Day of Defeat: Source,
Team Fortress 2,
Counter-Strike: Source and
Half-Life 2: Deathmatch, This is fixed by being disabled for models only, and attempting to use it on a model will print this error message into the console: "Ignoring material flag '$ignorez' on material 'X'".
(Reworded and documented the fact that Valve actually went out of their way to disable it in "competitive games".) |
(ignorez is only disabled for *models*, it still works without issue on materials w/o models; including the skybox and the hud) |
||
Line 1: | Line 1: | ||
'''<code>$ignorez</code>''' (as in "ignore the Z axis") is a [[boolean]] setting available in almost all {{source|4}} games that enables [[cheap]] [[sorting]]. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind. | '''<code>$ignorez</code>''' (as in "ignore the Z axis") is a [[boolean]] setting available in almost all {{source|4}} games that enables [[cheap]] [[sorting]]. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind. | ||
{{note|$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. | {{note|$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. In {{dods|4}}, {{tf2|4}}, {{css|4}} and {{hl2dm|4}}, This is fixed by being disabled for models only, and attempting to use it on a model will print this error message into the console: "Ignoring material flag '$ignorez' on material 'X'".}} | ||
[[Category:List of Shader Parameters|I]] | [[Category:List of Shader Parameters|I]] |
Revision as of 00:12, 19 July 2022
$ignorez
(as in "ignore the Z axis") is a boolean setting available in almost all Source games that enables cheap sorting. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind.




