List of global variables: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
m rem empty line |
No edit summary |
||
| Line 14: | Line 14: | ||
|0 | |0 | ||
|? | |? | ||
| | |Used by Bloom to hide/show/lessen haze effects when bloom is active | ||
|- | |- | ||
|1 | |1 | ||
|? | |? | ||
|Used by | |Used by Bloom to scale light ray effects when bloom is active | ||
|- | |- | ||
|2 | |2 | ||
|? | |? | ||
| | |Used by Ambient Texture Method - Red channel | ||
|- | |- | ||
|3 | |3 | ||
|? | |? | ||
| | |Used by Ambient Texture Method - Green channel | ||
|- | |- | ||
|4 | |4 | ||
|? | |? | ||
| | |Used by Ambient Texture Method - Blue channel | ||
|- | |- | ||
|5 | |5 | ||
|? | |? | ||
| | |Unused | ||
|- | |- | ||
|6 | |6 | ||
|? | |? | ||
| | |Used by Portal Sky - X-Direction | ||
|- | |- | ||
|7 | |7 | ||
|? | |? | ||
| | |Used by Portal Sky - Y-Direction | ||
|} | |} | ||
Revision as of 12:16, 15 June 2008
Variables named gloabl0 to gloabl7 influence the rendering of certain materials. They are set at run-time by the code automatically. See also the list of shaderParm variables.
List of gloabls
| # | Value | Used by |
|---|---|---|
| 0 | ? | Used by Bloom to hide/show/lessen haze effects when bloom is active |
| 1 | ? | Used by Bloom to scale light ray effects when bloom is active |
| 2 | ? | Used by Ambient Texture Method - Red channel |
| 3 | ? | Used by Ambient Texture Method - Green channel |
| 4 | ? | Used by Ambient Texture Method - Blue channel |
| 5 | ? | Unused |
| 6 | ? | Used by Portal Sky - X-Direction |
| 7 | ? | Used by Portal Sky - Y-Direction |