PPL: Difference between revisions
Jump to navigation
Jump to search
Important: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!
SirYodaJedi (talk | contribs) mNo edit summary |
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) |
||
Line 1: | Line 1: | ||
{{stub}}{{src topicon}}{{src13mp|only}} {{gmod|also}} | {{stub}}{{src topicon}}{{src13mp|only}} {{gmod|also}} | ||
'''PPL''' files are lightmaps ('''p'''er-'''p'''ixel '''l'''ighting) generated by [[VRAD]] for {{ent|prop_static}} models that have {{code|[[$lightmap|generatelightmaps]]}} enabled. Unlike brush lightmaps, PPL files are always 24-bit {{w|Standard dynamic range|SDR}} | '''PPL''' files are lightmaps ('''p'''er-'''p'''ixel '''l'''ighting) generated by [[VRAD]] for {{ent|prop_static}} models that have {{code|[[$lightmap|generatelightmaps]]}} enabled. Unlike brush lightmaps, PPL files are always 24-bit {{w|Standard dynamic range|SDR}}, even when the map is compiled in [[HDR]] mode. | ||
A PPL file can be converted to uncompressed [[VTF]] ( | {{modernImportant|To account for potential discrepancies between [[UV map]]s of [[$lod|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 [https://cdn.discordapp.com/attachments/235121530609205249/797996930956656680/proptexelvtf.exe Ficool2's proptexelvtf.exe], which can then be used for {{ent|$lightmap}}. | |||
[[Category:File formats]] | [[Category:File formats]] | ||
[[Category:Image formats]] |
Revision as of 19:51, 10 January 2024
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 SDR, even when the map is compiled in HDR mode.

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