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.finalGatherGradientThreshold

static var finalGatherGradientThreshold: float;
static float finalGatherGradientThreshold;
static finalGatherGradientThreshold as float

Description

Controls how the irradiance gradient is used in the interpolation.

Each point stores it�s irradiance gradient which can be used to improve the interpolation. However in some situations using the gradient can result in white �halos� and other artifacts.

Setting the threshold to a lower value can be used to reduce those artifacts.