Garry's Mod Wiki

render.PushFlashlightMode

  render.PushFlashlightMode( boolean enable = false )

Description

Enables the flashlight projection for the upcoming rendering.

This will leave models lit under specific conditions.

Issue Tracker: 3029

Arguments

1 boolean enable = false
Whether the flashlight mode should be enabled or disabled.