Procedural Shader Motion Vectors for TAA Ghosting Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Temporal Anti-aliasing (TAA) techniques suffer from ghosting artifacts due to mismatched motion vectors, leading to lower quality anti-aliased images, especially when rendering at native resolution.
Innovation Solution
A mixed low precision convolutional neural network is used for temporally amortized supersampling, combined with procedural shader output to augment motion vectors, enhancing texture information and improving correspondence detection between frames.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Stability of the object's composition
If Temporal Anti-aliasing (TAA) is used with renderer generated velocity/motion vectors, then temporal stability is achieved, but ghosting artifacts occur due to mismatched motion vectors
Solution Approach 1:
A neural network is introduced as an intermediary component that processes motion vectors and generates corrected correspondence data. The neural network takes as input the current frame, previous frame, and renderer-generated motion vectors, then outputs refined motion correspondence information that eliminates ghosting artifacts while preserving temporal stability.
Solution Approach 2:
The traditional renderer-generated motion vector system is replaced with a neural network-based correspondence detection system. Instead of relying on analytical motion vectors from the renderer, the system uses a trained neural network to learn and predict accurate correspondences between frames, substituting a data-driven approach for the analytical approach.
2Manufacturing precision
If upsampling is performed at native resolution, then image quality is improved, but render time increases
Solution Approach 1:
A neural network is trained in advance on a dataset of high-resolution images and corresponding motion vectors. This preliminary training phase allows the network to learn complex correspondence patterns, so that during actual rendering, the pre-trained network can quickly process frames and generate accurate supersampled images without requiring extensive computation at render time.
Solution Approach 2:
The system transitions from spatial upsampling alone to temporal-spatial upsampling by incorporating multiple frames and their correspondences. The neural network processes information across the temporal dimension, using historical frame data to inform current frame reconstruction, thereby achieving higher quality supersampling that leverages both spatial and temporal dimensions.
Data Source
AI summary
A graphics processor is provided that includes circuitry configured to facilitate correspondence finding for higher-order light-based effects such as shadows, objects reflecting in mirrors, waves in water or other liquids, glossy surfaces, or objects visible through transparent and/or refractive glass. The circuitry is configured to procedurally generate temporally stable tracking data for transparent and reflective surfaces during rendering of successive frames, hierarchically analyze the successive frames to detect the procedurally generated data within the successive frames, generate residual motion vectors based on the hierarchical analysis, and warp and align a frame and a successively rendered frame based on renderer supplied motion vectors and the residual motion vectors.


