![Basic SSAO (URP / LWRP)](https://assetstorev1-prd-cdn.unity3d.com/key-image/e35d1b80-3505-43f8-aaee-a5259ccfe216.jpg)
Basic SSAO solution for your URP/LWRP project. Based on Depth Texture only means it can work with almost any rendering method.
Features:
-Control various SSAO parameters like: Radius, Self Shadowing Reduction, Occlusion Factor etc to achieve the effect you want
-Smooth depth cutoff
-Resolution downscaling
-Simple and complex normals from depth
reconstruction
-Biliteral blur to prevent color bleeding on edges of geometry
-Gives good looking results even with a few samples per pixel (8, 12)
-Fast, takes 0.2ms to render on my RX580 with 8 samples and 1 blur iteration.
For integration with URP / LWRP pipelines asset uses Render Feature make sure you can add/use render feature in your project. If you are not using any asset using render feature then probably yes :)
This asset is not suitable for applying AO on small faraway objects because of depth buffer precision, this asset is more for scene with objects close to camera.
Note: this asset is not meant to be realistic from close up you will be able to see some noise if you are not using big amount of blur passes
Do not work with orthographic camera
Do not work with VR (except multipass rendering)
Works only with LWRP or URP
Basic SSAO URP / LWRPプロジェクトのソリューション。深度テクスチャに基づいているということは、それがほとんどすべてのレンダリング方法で機能できることだけを意味します。
特徴:
-さまざまなSSAOパラメータを制御する:半径、セルフシャドウイング削減、オクルージョンファクターなど、必要な効果を実現
-スムーズなdepth cutoff
-解像度ダウンスケーリング
-深さからの単純で複雑な法線
再建
-Biliteral blurにより、ジオメトリのエッジでの色のにじみを防止
-ピクセルあたりのサンプル数が少ない場合でも見栄えの良い結果が得られます(8、12)
-高速で、RX580で8サンプルと1ブラー反復を使用してレンダリングするのに0.2msかかります。
URP / LWRPパイプラインとの統合では、アセットはレンダリング機能を使用し、プロジェクトでレンダリング機能を追加/使用できることを確認してください。レンダリング機能を使用してアセットを使用していない場合は、おそらくはい:)
このアセットは深度バッファの精度のため、小さな遠くのオブジェクトにAOを適用するのには適していません。このアセットは、オブジェクトがカメラに近いシーンに適しています。
注:このアセットは、クローズアップから現実的であるようには意図されていません。大量のぼかしパスを使用していない場合は、ノイズが表示される可能性があります
正射投影カメラを使用しないでください
VRを使用しないでください(マルチパスレンダリングを除く)
期間限定でLWRPまたはURP Freeでのみ機能します:)!