Garry's Mod Wiki

render.SuppressEngineLighting

  render.SuppressEngineLighting( boolean suppressLighting )

Description

Allows suppressing model lighting for any upcoming model render operation.
Lighting then can be manually set up via various functions such as render.SetModelLighting.

This does not affect IMeshes.

Issue Tracker: 4070

Arguments

1 boolean suppressLighting
True to suppress false to enable.