Garry's Mod Wiki

render.RedownloadAllLightmaps

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.

Special Pages


Wikis

?

Render Time: 47ms

DB GetPage 24
Generate Html 7
SaveChanges (1) 7
Render Body 0
Render Sidebar 7