public record class SsaoAssetGround-truth-style ambient occlusion, marched in screen space.
Remarks
The cheap half of the ambient story. !DistanceFieldAo is the other one and they answer different questions: this sees only what is on screen, and that sees the whole level.
Fields and properties (14)
public string NameThe node's name, for debug groups and for a human reading the file.
public bool EnabledWhether the node runs.
public string DepthThe depth it marches.
public string NormalsThe normals it orients the integral by.
public string ViewThe view whose camera unprojects the depth.
public string OutputThe name the result is published under.
public PixelFormat FormatThe format of the target it declares.
public int DirectionsHow many directions each pixel marches.
public int StepsHow many steps along each direction.
public bool BentNormalWhether a bent normal is written alongside the occlusion.
public float RadiusHow far the march reaches, in metres.
public float IntensityHow strongly the result darkens.
public float FalloffHow fast occlusion falls off with distance.
public float ScaleResolution scale — half by default, which is where this effect belongs.
Used by (4)
- PostEffectFactoryVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests
- TypeRegistrationVixen.Rendering.PostFx
- Vixen_Rendering_PostFx_SsaoAssetSerializerVixen.Rendering.PostFx