render.SetModelLighting

From GMod Wiki

Jump to: navigation, search
Function
Syntax render.SetModelLighting( Enum render,Float r,Float g,Float b )
Where is this used?
Description:
NewerMissing.png
Returns: nil
Part of Library: render
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Render.SetModelLighting]Render.SetModelLighting [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionMesses with an object's lighting
Used onNewerClient.png
Code
 
	render.SetModelLighting( BOX_TOP, .8, 0, 0 )
	self:DrawModel( )
	render.SuppressEngineLighting( false )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox