List of shaderParm variables: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(add)
 
(add _color)
Line 17: Line 17:
|0
|0
|?
|?
|?
|Set by _color spawnarg in the editor
|?
|once


|-
|-
|1
|1
|?
|?
|?
|Set by _color spawnarg in the editor
|?
|once


|-
|-
|2
|2
|?
|?
|?
|Set by _color spawnarg in the editor
|?
|once


|-
|-

Revision as of 23:06, 15 November 2007

Introduction

Variables named shaderParm0 to shaderParm15 influence the rendering of textures. They are either set once in the map editor for some specific entity, or at run-time by various scripts.

List of shaderParms

# Value Used by Type
0 ? Set by _color spawnarg in the editor once
1 ? Set by _color spawnarg in the editor once
2 ? Set by _color spawnarg in the editor once
3 ? ? ?
4 ? ? ?
5 ? ? ?
6 ? ? ?
7 0..1 (brightness) Used by the moon-light textures in textures/darkmod/sfx/ once
8 ? ? ?
9 ? ? ?
10 ? ? ?
11 0 or 1 non-zero when something is frobbed run-time
12 ? ? ?
13 ? ? ?
14 ? ? ?
15 ? ? ?