Garry's Mod Wiki

render.ResetModelLighting

render.ResetModelLighting

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

Description

Resets the model lighting to the specified color.

Calls render.SetModelLighting for every direction with given color.

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: 69ms

DB GetPage 49
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 7