Garry's Mod Wiki

render.SetAmbientLight

render.SetAmbientLight

  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.

Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 30
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7