球面調和関数 (Spherical Harmonics) 。二項まで (3 バンド、9 係数) 。
球面調和関数 (SH) は向きの関数や信号を表し、スムーズな照明を効率的に評価するためにコンピュータグラフィックスでよく使われます。Unity は LightProbes と Environment Lighting のためにそれらに使用します。
L2 球面調和関数はカラーチャネルごとに 9つの係数で構成されます。
See Also: RenderSettings.ambientMode, RenderSettings.ambientProbe, LightProbes.
| this[int,int] | それぞれの SH 係数にアクセスします。 |
| AddAmbientLight | Add an ambient light to the spherical harmonics. |
| AddDirectionalLight | Add a directional light to the spherical harmonics. |
| Clear | Clears the spherical harmonics coefficients to zero. |
| Evaluate | Evaluates the spherical harmonics for each given direction. The directions and results arrays must have the same size. |
| operator != | Returns true if the spherical harmonics are different. |
| operator * | 指定した倍率で SH をスケールします。 |
| operator + | Adds two spherical harmonics. |
| operator == | Returns true if the spherical harmonics are equal. |