Garry's Mod Wiki

render.SetColorModulation

  render.SetColorModulation( number r, number g, number b )

Description

Sets the color modulation for upcoming render operations, such as rendering models.

The values can exceed 1 for stronger effect.

See render.SetBlend for the function to affect alpha channel.

Arguments

1 number r
The red channel multiplier normal ranging from 0-1.
2 number g
The green channel multiplier normal ranging from 0-1.
3 number b
The blue channel multiplier normal ranging from 0-1.