Color

From The DarkMod Wiki
Revision as of 23:31, 22 February 2008 by Tels (talk | contribs) (add note about the name)
Jump to navigationJump to search

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.

See also