文档

Unity Engine

Unity Engine

useLegacyProbeSampleCount

Enable the legacy fixed sample counts for baking Light Probes with Progressive Lightmapper.
阅读时间1 分钟最后更新于 1 个月前

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.