Color

From The DarkMod Wiki
Jump to: navigation, 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