Back to Filament

TemporalAntiAliasingOptions

docs/android/dokka/filament-android/com.google.android.filament/-view/-temporal-anti-aliasing-options/index.md

1.75.04.7 KB
Original Source

//filament-android/com.google.android.filament/View/TemporalAntiAliasingOptions

TemporalAntiAliasingOptions

open class TemporalAntiAliasingOptions

Options for Temporal Anti-aliasing (TAA) Most TAA parameters are extremely costly to change, as they will trigger the TAA post-process shaders to be recompiled. These options should be changed or set during initialization. filterWidth, feedback and jitterPattern, however, can be changed at any time.

feedback of 0.1 effectively accumulates a maximum of 19 samples in steady state. see "A Survey of Temporal Antialiasing Techniques" by Lei Yang and all for more information.

See also

setTemporalAntiAliasingOptions

Constructors

TemporalAntiAliasingOptions[main]
constructor()

Types

NameSummary
BoxClipping[main]
enum BoxClipping
BoxType[main]
enum BoxType
JitterPattern[main]
enum JitterPattern

Properties

NameSummary
boxClipping[main]
open var boxClipping: View.TemporalAntiAliasingOptions.BoxClipping
clipping algorithm
boxType[main]
open var boxType: View.TemporalAntiAliasingOptions.BoxType
type of color gamut box
enabled[main]
open var enabled: Boolean
enables or disables temporal anti-aliasing
feedback[main]
open var feedback: Float
history feedback, between 0 (maximum temporal AA) and 1 (no temporal AA).
filterHistory[main]
open var filterHistory: Boolean
whether to filter the history buffer
filterInput[main]
open var filterInput: Boolean
whether to apply the reconstruction filter to the input
filterWidth[main]
open var filterWidth: Float
hdr[main]
open var hdr: Boolean
set to true for HDR content
historyReprojection[main]
open var historyReprojection: Boolean
whether to apply history reprojection (debug option)
jitterPattern[main]
open var jitterPattern: View.TemporalAntiAliasingOptions.JitterPattern
Jitter Pattern
lodBias[main]
open var lodBias: Float
texturing lod bias (typically -1 or -2)
preventFlickering[main]
open var preventFlickering: Boolean
adjust the feedback dynamically to reduce flickering
sharpness[main]
open var sharpness: Float
post-TAA sharpen, especially useful when upscaling is true.
upscaling[main]
open var upscaling: Float
Upscaling factor.
useYCoCg[main]
open var useYCoCg: Boolean
whether to use the YcoCg color-space for history rejection
varianceGamma[main]
open var varianceGamma: Float
High values increases ghosting artefact, lower values increases jittering, range [0.75, 1.