Version: 2019.4
LanguageEnglish
  • C#

LightmapEditorSettings.lightProbeSampleCountMultiplier

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static float lightProbeSampleCountMultiplier;

Description

Specifies the number of samples to use for Light Probes relative to lightmap texels. The default value is 4.

This value is a multiplier on the directSampleCount, indirectSampleCount and environmentSampleCount. This is used to account for the fact that Light Probes will have to sample a larger area than a lightmap texel. If you increase this value, the quality of your Light Probes might improve, but baking takes more time.