Garry's Mod Wiki

render.SetLightingOrigin

  render.SetLightingOrigin( Vector lightingOrigin )

Description

Sets lighting origin for the current model.

This does not work for prop_physics.

Issue Tracker: 2804

Arguments

1 Vector lightingOrigin
The position which will be used to calculate lighting for the current model.