Color: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
add |
add note about the name |
||
Line 1: | Line 1: | ||
The '''_color''' spawnarg consists of three color values for red, green and blue. It sets simultanously the three spawnargs shaderParm0, shaderParm1 and shaderParm2. | {{important|headline=Note:|text=The name if this article contains no underscore at the front due to technical limitations of the wiki, the correct name is '''_color'''.}} | ||
The '''_color''' spawnarg consists of three color values for red, green and blue. It sets simultanously the three spawnargs shaderParm0, shaderParm1 and shaderParm2. | |||
This spawnarg is often used to set RGB colors for materials that contain a color stage. Thus different entities with different ''_color'' spawnargs will be colored differently in the game. | This spawnarg is often used to set RGB colors for materials that contain a color stage. Thus different entities with different ''_color'' spawnargs will be colored differently in the game. |
Revision as of 23:31, 22 February 2008
Note:
The name if this article contains no underscore at the front due to technical limitations of the wiki, the correct name is _color.The _color spawnarg consists of three color values for red, green and blue. It sets simultanously the three spawnargs shaderParm0, shaderParm1 and shaderParm2.
This spawnarg is often used to set RGB colors for materials that contain a color stage. Thus different entities with different _color spawnargs will be colored differently in the game.