This article's documentation is for anything that uses the Source engine. Click here for more information.

PPL

From Valve Developer Community
Revision as of 19:51, 10 January 2024 by SirYodaJedi (talk | contribs) (Using proptexelvtf, I can confidently say that PPL files are 24-bit, not 32-bit. They also seem to contain a version of the lightmap for each LoD)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

(only in Source 2013 Multiplayer) (also in Garry's Mod)

PPL files are lightmaps (per-pixel lighting) generated by VRAD for prop_static models that have generatelightmaps enabled. Unlike brush lightmaps, PPL files are always 24-bit Wikipedia icon SDR, even when the map is compiled in HDR mode.

Icon-Important.pngImportant:To account for potential discrepancies between UV maps of LoD models, PPL files contain a lightmap for each LoD model. This can greatly increase the file size of a map if a lightmapped model has several LoD models!

A PPL file can be converted to uncompressed VTF(s) using Ficool2's proptexelvtf.exe, which can then be used for $lightmap.