$nofog

From Valve Developer Community
Revision as of 16:13, 4 March 2014 by Pacguy19 (talk | contribs) (adding information)

Jump to: navigation, search

The $nofog command prevents fog from overdrawing a material. It is commonly used on 2D skyboxes.

$nofog is not linked to any particular shader, so it can be used at any time. To do: What happens on models?

Syntax

$nofog 1