Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


environmentImportanceSampling

Determines whether Progressive Lightmappers use importance sampling when they sample environment lighting while baking.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

Using importance sampling for environment lighting can reduce noise and produce cleaner bake results. In certain low frequency environments, importance sampling can produce noisy results.