Class TemporalAntialiasing
This class holds settings for the Temporal Anti-aliasing (TAA) effect.
Inheritance
System.Object
TemporalAntialiasing
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[Serializable]
public sealed class TemporalAntialiasing
Fields
jitteredMatrixFunc
Declaration
public Func<Camera, Vector2, Matrix4x4> jitteredMatrixFunc
Field Value
| Type | Description |
|---|---|
| System.Func<Camera, Vector2, Matrix4x4> |
jitterSpread
The diameter (in texels) inside which jitter samples are spread. Smaller values result in crisper but more aliased output, while larger values result in more stable but blurrier output.
Declaration
public float jitterSpread
Field Value
| Type | Description |
|---|---|
| System.Single |
motionBlending
The blend coefficient for a fragment with significant motion. Controls the percentage of history sample blended into the final color.
Declaration
public float motionBlending
Field Value
| Type | Description |
|---|---|
| System.Single |
sharpness
Controls the amount of sharpening applied to the color buffer. High values may introduce dark-border artifacts.
Declaration
public float sharpness
Field Value
| Type | Description |
|---|---|
| System.Single |
stationaryBlending
The blend coefficient for a stationary fragment. Controls the percentage of history sample blended into the final color.
Declaration
public float stationaryBlending
Field Value
| Type | Description |
|---|---|
| System.Single |
Properties
jitter
Declaration
public Vector2 jitter { get; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
sampleIndex
Declaration
public int sampleIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
ConfigureJitteredProjectionMatrix(PostProcessRenderContext)
Declaration
public void ConfigureJitteredProjectionMatrix(PostProcessRenderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PostProcessRenderContext | context |
ConfigureStereoJitteredProjectionMatrices(PostProcessRenderContext)
Declaration
public void ConfigureStereoJitteredProjectionMatrices(PostProcessRenderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PostProcessRenderContext | context |
GetJitteredProjectionMatrix(Camera)
Declaration
public Matrix4x4 GetJitteredProjectionMatrix(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera |
Returns
| Type | Description |
|---|---|
| Matrix4x4 |
IsSupported()
Declaration
public bool IsSupported()
Returns
| Type | Description |
|---|---|
| System.Boolean |