AmbientOcclusionMethod enum Rendering
Which screen-space occlusion estimator AmbientOcclusionSettings runs.
Values
- obscurance → const AmbientOcclusionMethod
-
Normalized angular obscurance averaged over a spiral sampling disk, with a four-neighbour detail term. The cheapest estimate and the default. Tuned by AmbientOcclusionSettings.sampleCount, AmbientOcclusionSettings.bias, AmbientOcclusionSettings.horizonAngle, and AmbientOcclusionSettings.detail.
The sampling follows McGuire et al., "Scalable Ambient Obscurance" (2012), https://research.nvidia.com/publication/scalable-ambient-obscurance.
- groundTruth → const AmbientOcclusionMethod
-
Horizon-based visibility integrated over hemisphere slices, matching the cosine-weighted reference that ray-traced occlusion converges to. Reads more coherent contact shadowing than obscurance at similar cost, and composes correctly with image-based lighting. Tuned by AmbientOcclusionSettings.sliceCount, AmbientOcclusionSettings.stepsPerSlice, AmbientOcclusionSettings.visibilityBitmask, AmbientOcclusionSettings.thickness, and AmbientOcclusionSettings.thicknessHeuristic.
The integration follows Jimenez et al., "Practical Realtime Strategies for Accurate Indirect Occlusion" (2016); the optional visibility bitmask follows Therrien et al., "Screen Space Indirect Lighting with Visibility Bitmask" (2023).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AmbientOcclusionMethod> - A constant List of the values in this enum, in order of their declaration.