$ignorez: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''<code>$ignorez boolean</code>''' (as in "ignore the Z axis") enables [[cheap]] [[sorting]]. Use it for interface materials, which will always be 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 that enables [[cheap]] [[sorting]]. Use it for interface materials, which will always be in front of the 3D world, and skybox materials, which will always be behind.
 
In Source 2009 ({{confirm|and later}}) <code>$ignorez</code> cannot be used on [[model]]s to prevent cheating.


[[Category:List of Shader Parameters|I]]
[[Category:List of Shader Parameters|I]]

Revision as of 11:52, 20 May 2011

$ignorez (as in "ignore the Z axis") is a boolean setting that enables cheap sorting. Use it for interface materials, which will always be in front of the 3D world, and skybox materials, which will always be behind.

In Source 2009 (

Confirm:and later

) $ignorez cannot be used on models to prevent cheating.