$nofog: Difference between revisions
Jump to navigation
Jump to search
(adding information) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The '''<code>$nofog</code>''' command prevents [[fog]] from overdrawing a [[material]]. It is commonly used on [[Skybox (2D)|2D skyboxes]]. | The '''<code>$nofog</code>''' command prevents [[fog]] from overdrawing a [[material]]. It is commonly used on [[Skybox (2D)|2D skyboxes]]. | ||
<code>$nofog</code> is not linked to any particular shader, so it can be used at any time. | <code>$nofog</code> is not linked to any particular shader, so it can be used at any time. | ||
==Syntax== | ==Syntax== | ||
Line 7: | Line 7: | ||
<pre>$nofog 1</pre> | <pre>$nofog 1</pre> | ||
[[Category: | [[Category:Shader parameters|n]] |
Latest revision as of 10:01, 15 August 2023
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