$nofog

From Valve Developer Community
Revision as of 10:35, 8 June 2019 by NvC DmN CH (talk | contribs) (removed todo because nothing unusual happens on models)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Syntax

$nofog 1