Sign in to follow this  

MFAA question

Recommended Posts

Was trying to find a TXAA/TAA example because I haven't seen any actual details. It somehow is very inexpensive on BF4 and wanted to look at it.  But for MFAA, in the video below, they are showing the same triangle rasterized to the same exact samples, however in-between frames triangles will render to different sub-pixel locations, so how can it resolve to a pixel value with a previous frame. Isn't that the same idea as TAA?

https://www.youtube.com/watch?v=Nef6yWYu0-I

Share this post


Link to post
Share on other sites

Yeah this is just a very early/naive implementation of temporal AA.

 

And for modern papers on it just take a look through the last several years of the Advances in Realtime Rendering course from Siggraph: http://advances.realtimerendering.com/

 

You'll get all you ever wanted to know, I'd suggest starting with Brian Karis's paper from 2014.

Share this post


Link to post
Share on other sites

Yes, the demo reprojects using a per-pixel velocity. The pixel history is also clipped based on the local neighborhood of the current frame's pixel in order to reduce ghosting. The default settings also use bicubic filtering during reprojection to increase the sharpness. Perhaps there's a bug in the code causing it not to work correctly on your setup? Are you running the latest code from the depot, or are you running the pre-compiled binaries from the releases section? I haven't updated the pre-compiled binaries since I first committed the projected, but even in that state the ghosting should be minimized.

 

Would you mind posting a screenshot showing the ghosting artifacts that you're getting? That might help diagnose the issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this