Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useLegacyProbeSampleCount

Enable the legacy fixed sample counts for baking Light Probes with Progressive Lightmapper.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool useLegacyProbeSampleCount { get; set; }

Remarks

The fixed sample counts are: 64 direct samples, 2048 indirect samples and 2048 environment samples. Disabling this ties the Light Probe sample counts to the sample counts specified for lightmaps. When disabled a multiplier is provided in the lighting settings to be able to use more samples for Light Probes. This is because a Light Probe covers a larger area than a lightmap texel so generally needs more samples to converge.