$nofog: Difference between revisions
Jump to navigation
Jump to search
(stub) |
(adding information) |
||
Line 1: | Line 1: | ||
The '''<code>$nofog</code>''' command prevents [[fog]] from overdrawing a [[material]]. It is commonly used on [[Skybox (2D)|2D skyboxes]]. | |||
'''<code>$nofog</code>''' prevents [[fog]] from | |||
<code>$nofog</code> is not linked to any particular shader, so it can be used at any time. {{todo|What happens on models?}} | |||
< | ==Syntax== | ||
<pre>$nofog 1</pre> | |||
[[Category:List of Shader Parameters|N]] | [[Category:List of Shader Parameters|N]] |
Revision as of 09:13, 4 March 2014
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.
Todo: What happens on models?
Syntax
$nofog 1