render.SetModelLighting
From GMod Wiki
Function | |
Syntax |
render.SetModelLighting( Enum render,Float r,Float g,Float b ) Where is this used? |
Description: | |
Returns: | nil |
Part of Library: | render |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.SetModelLighting]Render.SetModelLighting [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Messes with an object's lighting |
---|---|
Used on | |
Code | render.SetModelLighting( BOX_TOP, .8, 0, 0 ) self:DrawModel( ) render.SuppressEngineLighting( false ) |
Output | N/A |