$ignorez: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''<code>$ignorez</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 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.


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

Revision as of 02:39, 24 February 2009

$ignorez boolean (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.