$nofog

From Valve Developer Community
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