Garry's Mod Wiki

Revision Difference

render.SetLightingOrigin#562548

<function name="SetLightingOrigin" parent="render" type="libraryfunc"> <description> Sets the lighting origin. Sets lighting origin for the current model. <bug issue="2804">This does not work for prop_physics.</bug> </description> <realm>Client</realm> <args> <arg name="lightingOrigin" type="Vector">The position from which the light should be "emitted".</arg> <arg name="lightingOrigin" type="Vector">The position which will be used to calculate lighting for the current model.</arg> </args> </function>