Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

LightmapParameters.clusterResolution

フィードバック

ありがとうございます

この度はドキュメントの品質向上のためにご意見・ご要望をお寄せいただき、誠にありがとうございます。頂いた内容をドキュメントチームで確認し、必要に応じて修正を致します。

閉じる

送信に失敗しました

なんらかのエラーが発生したため送信が出来ませんでした。しばらく経ってから<a>もう一度送信</a>してください。ドキュメントの品質向上のために時間を割いて頂き誠にありがとうございます。

閉じる

キャンセル

マニュアルに切り替える
public var clusterResolution: float;
public float clusterResolution;

説明

Enlighten が入力光の保存と転送できる解像度を制御します。

Typically this resolution can be slightly lower than the resolution of the realtime lightmap without significantly reducing the final quality, although this depends on the kinds of lighting environments you wish to use. Small, bright light sources will require a higher clusterResolution for Enlighten to capture them accurately.

Cluster resolution is multiplied by the realtime lightmap resolution. A high value means a higher cluster resolution. A value of 1 matches each texel in the realtime lightmap with one input cluster.

Using a very small cluster resolution results in light being smeared across the output texels. Larger values do not significantly increase quality (as they have to be averaged for the final output texel), but can cause unnecessary increases in time and memory footprint.