Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

LightmapEditorSettings.textureCompression

static var textureCompression: bool;
static bool textureCompression;
static textureCompression as bool

Description

Whether to use DXT1 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.