Building lightmaps for a level

Lightmap is a term used for a lighting concept, where all the light data is saved in maps and the lights themselves are disabled at runtime. This means that there will not be a real-time lighting for those baked objects. This is widely used in games in order to reserve GPU calculations for something else.

The process of building a lightmap (lightmass) itself is not complex; it is just a case of hitting the Build button. But what takes some time is the tweaking done before the button is pressed.

The rule of lightmaps is that only static objects can be baked into lightmaps, which means any movable item at the level will not be written to lightmaps, and that includes, but is not limited to, characters and enemies. This ...

Get Mastering Unreal Engine 4.X now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.