Garry's Mod Wiki

render.SetShadowsDisabled

  render.SetShadowsDisabled( boolean disable )

Description

Sets whether all shadow rendering should be disabled.

Internally sets r_shadows_gamecontrol convar, exactly like shadow_control does via its SetShadowsDisabled input.

Currently broken due to internal bug. Will be fixed in the next update, as of 15 Sept 2025.

Arguments

1 boolean disable
true to disable shadows, false to enable.