Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bruteForcePacking

Whether to exhaustively check every possible lightmap layout when packing lightmaps.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool bruteForcePacking { get; set; }

Remarks

Enabling this may significantly increase the time taken to calculate lightmap packing, but it helps ensure that the most optimal possible packing will be used. Use with caution.
This setting only has an effect when using LightingSettings.LightmapPackingMethod.XAtlas.