Garry's Mod Wiki

Garry's Mod Wiki

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

Description

Sets the ambient lighting for any upcoming render operation.

Arguments

1 number r
The red part of the color, 0-1.
2 number g
The green part of the color, 0-1.
3 number b
The blue part of the color, 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 four times a day. Edits and history are not available.

Last Parsed: Loading...