$nocull: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Make the surface two-sided. Only useful if the material is <code>[[$translucent]]</code> or <code>[[$alpha]]</code>.
Makes the material appear on the reverse side of the surface it is applied to. Generally only useful when used in conjunction with <code>[[$translucent]]</code> or <code>[[$alpha]]</code>.


  $nocull 1
  $nocull 1
{{note|Has no effect on [[world brush]]es (so tie each one to [[func_detail]]).}}
{{bug|Cannot be used with <code>$translucent</code> on [[model]]s. Use <code>[[$alphatest]]</code> instead.}}


[[Category:List of Shader Parameters|N]]
[[Category:List of Shader Parameters|N]]
[[Category:VMT Transparency]]

Revision as of 04:12, 9 January 2009

Makes the material appear on the reverse side of the surface it is applied to. Generally only useful when used in conjunction with $translucent or $alpha.

$nocull 1
Note.pngNote:Has no effect on world brushes (so tie each one to func_detail).
Icon-Bug.pngBug:Cannot be used with $translucent on models. Use $alphatest instead.  [todo tested in ?]