vecColor

The current entity color and transparency, given by it's red, green, blue, and alpha values. If the entities' TRANSLUCENT flag is not set, the a component of the vector is always 1.0.

Type

float4

Example

float4 vecColor;
...

Out.Color = vecColor;

See also:

MATERIAL, shaders, shader parameters

 

► latest version online