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.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 5
Generate Html 4
SaveChanges (1) 17
Render Body 0
Render Sidebar 7