ドキュメント
参考:
Shadows | Unity Manual [Official]
概要
参考:
使い方
参考:
リアルタイムシャドウをちゃんと理解して影を正しく描画する | LIGHT11
設定
- Resolution
[Spot]
- 角度 (Spot Angle) を絞る
[Directional]
- 影を描写するカメラからの距離 (Shadow Distance) を適切な範囲に絞る
- カスケード (Shadow Cascades) を4段に設定する
[Point Light]
- 光源をオブジェクトに近付ける
参考:
Unity で影が汚く表示される場合の対処 | テラシュールブログ
リアルタイムな影がカクカクになる問題の対処 | テラシュールブログ
リアルタイムシャドウをちゃんと理解して影を正しく描画する | LIGHT11
ライトの設定
- Type
- Range
- Spot Angle
- Color
- Mode
- Intensity
- Indirect Multiplier
- Shadow Type
- Cookie
- Draw Halo
- Flare
- Render Mode
- Culling Mask
参考:
ディレクショナルライトのシャドウ | Unity マニュアル [公式]
Light インスペクター | Unity マニュアル [公式]
ソフトシャドウ
参考:
Soft shadows not really soft? – Unity Forum
Bias
参考:
Shodow Projection
- Close Fit
- Stable Fit (デフォルト)
参考:
Shadow Projection の Close Fit と Stable Fit について | テラシュールブログ
LightMap
参考:
LightMap を使用して雰囲気のある影を作成 | PointCloudConsortium
SSAO
参考:
LightMap を使用して雰囲気のある影を作成 | PointCloudConsortium
影がギザギザになる
参考:
Why are directional light shadows so jaggy? | Unity Forum
Tips
参考:
Fast Volumetric Blob Shadows
参考:
Fast Volumetric Blob Shadows | Unity Asset Store [Official]
Fast Volumetric Blob Shadows – YouTube
Fast Shadow Receiver
参考:
Fast Shadow Receiver | Unity Asset Store [Official]
Next-Gen Soft-Shadows (NGSS)
参考:
Next-Gen Soft-Shadows | Unity Asset Store [Official]
Next-Gen Soft-Shadows 2 – Sophisticated dynamic penumbra Shadows for Unity | Unity Forum
Unity Shadow vs NGSS Soft Shadow – YouTube
Next Gen Soft Shadows for Unity – YouTube
UnityPCSS
参考:
TheMasonX/UnityPCSS: Nvidia’s PCSS soft shadow algorithm implemented in Unity – GitHub
Unity PCSS “Soft Shadows” GitHub Release and Explanation – YouTube