Garry's Mod Wiki

render.RedownloadAllLightmaps

  render.RedownloadAllLightmaps( boolean DoStaticProps = false, boolean UpdateStaticLighting = false )

Description

This applies the changes made to map lighting using engine.LightStyle.

Arguments

1 boolean DoStaticProps = false
When true, this will also apply lighting changes to static props. This is really slow on large maps.
2 boolean UpdateStaticLighting = false
Forces all props to update their static lighting. Can be slow.