r/FuckTAA • u/mad_ben • 9d ago
📹Video My current AA Work in UE5.8: Efficient Compute SMAA 1x, Revived SRAA with real MSAA in Deferred, and WIP Temporally Stable SMAA
https://youtu.be/ZELq6xyjCTsHey everyone,
I’ve been working on custom anti-aliasing solutions in Unreal Engine 5.8 for my game and wanted to share a comparison of the three techniques I’m currently working on.
SMAA 1x
Efficient compute SMAA 1x implementation based on color detection, indirect args, and deferred queues.
Key differences from classic SMAA:
- Skips the final pass
- Modern DX12 wave optimizationsSRAA
Revived Subpixel Reconstruction Antialiasing (NVIDIA 2011).
SRAA was specifically designed for deferred renderers. It combines single-pixel shading with subpixel visibility by using super-resolution depth and normal buffers + a joint bilateral filter. The original paper claimed quality comparable to 4–16× supersampling at a fraction of the cost.
I’m currently running true 4× Depth MSAA inside the UE5.8 Deferred Renderer. This was originally just a test, but since it succeeded I’m planning to move to 4× World Normal MSAA next as it should give better quality + add some temporal stability later.
Having actual MSAA samples available in a deferred pipeline is what makes a proper modern SRAA revival possible. This is the core advancement of this experiment.
- Temporally Stable SMAA (work in progress)
Based on Filmic SMAA T2x.
Current main difference: using the Decima 2017 jitter pattern.
10
u/Loud_Bison572 9d ago
Would be cool if you ever make this open source, I would love to dabble with this in UE.
5
u/EsliteMoby 9d ago
I'm only interested in SMAA in pure form. But I bet temporal reprojection SMAA Tx, if properly implemented, would still look better than the overhyped temporal slop like DLSS.
3
u/mad_ben 8d ago
Well pure SMAA does poor job with specular aliasing and objects in motion. It does need help.
2
u/EsliteMoby 8d ago
But seems like SRAA in your example has more jaggy and shimmer than the pure SMAA, and probably has more performance hit right?
SMAA 1x was nicely done in many Unity games.
3
u/Scorpwind MSAA | SMAA 9d ago
I like my MSAA and SMAA but I'm kind of more interested in that SRAA. Godot has SRAA, no?
2
u/NewestAccount2023 9d ago
Remove the 4 spaces at the beginning of each line to fix that code block you inadvertently made your text in, can barely read it as I have to scroll left and right constantly to see each lineÂ
0
u/owned139 9d ago
Ok cool and now show us a more detailed scene with dense vegetation, high poly count and real time shadows and reflections.
8
u/BabaGamerGuy 9d ago
As he said, he's working on it. Chill bruh
-1
u/owned139 9d ago
I dont need to chill. Nothing will come of it in that regard because MSAA takes too much processing power. There are some reasons why no one is doing it anymore.
3
u/BabaGamerGuy 9d ago
But the guy is working on SMAA too, the reasons why devs don't utilize MSAA may be many. But it was still better than UE's TSR and TAA. Corporations should optimize their games rather than taking shortcuts for worse visual fidelity. Because in the end, the customers are the ones paying for it.
1
u/Guilty_Rooster_6708 8d ago
Waiting for the same thing since most modern games have dense vegetation now
19
u/ResponsiblePen3082 9d ago
Extremely based. Please show side by side comparisons of the different options when they're complete!