$ignorez: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo 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</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:45, 15 July 2008

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