$nocull: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
"$nocull" 1
Make the surface two-sided. Only useful if the material is <code>[[$translucent]]</code> or <code>[[$alpha]]</code>.
* Make the surface two-sided.  
* Add this line if you want your texture to be visible from both sides. This is only applicable for flat objects like glass or wire fences.


[[Category:List of Shader Parameters]]
$nocull 1
 
[[Category:List of Shader Parameters|n]]
[[Category:VMT Transparency]]
[[Category:VMT Transparency]]

Revision as of 13:30, 12 July 2008

Make the surface two-sided. Only useful if the material is $translucent or $alpha.

$nocull 1