Garry's Mod Wiki


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


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


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.