Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...