Garry's Mod Wiki

Revision Difference

render.SetShadowsDisabled#568169

<function name="SetShadowsDisabled" parent="render" type="libraryfunc"> <description>Sets whether all shadow rendering should be disabled. Internally sets `r_shadows_gamecontrol` convar, exactly like `shadow_control` does via its `SetShadowsDisabled` input. ⤶ <bug>Currently broken due to internal bug. Will be fixed in the next update, as of 15 Sept 2025.</bug>⤶ </description>⤶ ⤶ </description>⤶ <realm>Client</realm> <args> <arg name="disable" type="boolean">`true` to disable shadows, `false` to enable.</arg> </args> </function>