Version: 2021.2
言語: 日本語
public static float updateThreshold ;

説明

Threshold for limiting updates of Enlighten Realtime Global Illumination. The unit of measurement is "percentage intensity change".

Describes how much input lighting can change before the real-time lightmap is updated. When input lighting is updated, Enlighten Realtime Global Illumination keeps a running total of the difference in input lighting intensity since the last time lighting was solved. The current difference is added each update, so over time it is the sum of the differences since the last solve. Each update, Enlighten Realtime Global Illumination checks whether the running total of light intensity exceeds the previous result by a difference specified by the updateThreshold value as a percentage.

Lower values mean the real-time lightmap will be updated more frequently but will incur more CPU load. Higher values will result in it being updated less frequency, but will incur a lighter CPU load.

A value of 0 means that the real-time lightmap will update even on the smallest change in the input lighting. If the input lighting doesn't change, a value of 0 will not cause any updates to the lightmap. A positive value causes the Global Illumination to only update when the threshold is exceeded. This is useful for saving CPU cycles and updating those parts of the Scene where the lighting is being changed more frequently rather than other areas where the lighting is mostly static. The default value is 1%. Any positive value is fine but we recommend smaller values, as otherwise you might see popping artefacts (and incorrect radiosity).

CPU をより節約したい場合は、100% を超える値を設定することもできます。更新が発生する前は、エラー許容範囲は、実際に最大になっています。

負の値はすべて、一時的に一貫性を失わせる原因となります。そのため、ライティングに変化がまったくない場合でも、フレームごとにシステムが更新されます。

強度の値が高いと、強度の値が低い場合に比べ、更新する頻度が少なくなります。強度の高い光よりも強度の低い光でより頻繁に差が確認されるので、理に適っているといえます。