Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LightmapEditorSettings.textureCompression

public static bool textureCompression;

Description

Whether to use texture compression on the generated lightmaps.

Compression is recommended to improve lightmap rendering performance and lower the memory footprint, but might introduce visible artifacts in scenes without high-detail texturing that would mask-out the issues.

Did you find this page useful? Please give it a rating: