nvidia's new AA filters: FXAA / TXAA / MFAA / ...
Page 5 of 10 Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
tonizito
VIP Member



Posts: 51396
Location: Portugal, the shithole of Europe.
PostPosted: Fri, 5th Aug 2011 01:53    Post subject:
consolitis wrote:
Have you tried it?
HOLY CRAP IT WORKS!
FINALLY!!!




Thank you spajdr and everyone that made this possible.
From the get-go it looks better than MLAA, still unsure about the performance hit.


boundle (thoughts on cracking AITD) wrote:
i guess thouth if without a legit key the installation was rolling back we are all fucking then
Back to top
ixigia
[Moderator] Consigliere



Posts: 65077
Location: Italy
PostPosted: Fri, 5th Aug 2011 02:01    Post subject:
tonizito wrote:
consolitis wrote:
Have you tried it?
HOLY CRAP IT WORKS!
FINALLY!!!




Thank you spajdr and everyone that made this possible.
From the get-go it looks better than MLAA, still unsure about the performance hit.

+1
(finally!)
Awesome find spajdr

edit: Cool Face Razz



Random creations of an insane mind / Screens from Bulgaria [Early Access]


Last edited by ixigia on Fri, 5th Aug 2011 02:07; edited 2 times in total
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Fri, 5th Aug 2011 02:02    Post subject:
spajdr is not the author Laughing


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
spajdr




Posts: 1842
Location: Czechia
PostPosted: Fri, 5th Aug 2011 02:43    Post subject:
It works also for Rift, which uses otherwise inefficient AA.
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 07:09    Post subject:
You can open the .fx and .h and .hlsl files (text only.) and fine-tune the thing you know, by default the dude went for the extreme. Razz

I'll just quote the relevant parts.

Shader.fx
Quote:

#define FXAA_PC 1
#define FXAA_HLSL_3 1
#define FXAA_QUALITY__PRESET 39
//#define FXAA_QUALITY__PRESET 12

(Notice the last two lines.)

FXAA 3_11.h (FXAA version 3.11 hlsl I guess.)
Quote:

/*============================================================================
FXAA QUALITY - TUNING KNOBS
------------------------------------------------------------------------------
NOTE the other tuning knobs are now in the shader function inputs!
============================================================================*/
#ifndef FXAA_QUALITY__PRESET
//
// Choose the quality preset.
// This needs to be compiled into the shader as it effects code.
// Best option to include multiple presets is to
// in each shader define the preset, then include this file.
//
// OPTIONS
// -----------------------------------------------------------------------
// 10 to 15 - default medium dither (10=fastest, 15=highest quality)
// 20 to 29 - less dither, more expensive (20=fastest, 29=highest quality)
// 39 - no dither, very expensive
//
// NOTES
// -----------------------------------------------------------------------
// 12 = slightly faster then FXAA 3.9 and higher edge quality (default)
// 13 = about same speed as FXAA 3.9 and better than 12
// 23 = closest to FXAA 3.9 visually and performance wise
// _ = the lowest digit is directly related to performance
// _ = the highest digit is directly related to style
//
#define FXAA_QUALITY__PRESET 12
#endif


/*============================================================================

FXAA QUALITY - PRESETS

============================================================================*/
...

(Below the last line is the entire structure for what the quality presets actually does, useful to read the entire file though, I never imagined FXAA scaling and being so adjustable, think I'm going to try it in Crysis 2 after all since I imagine the quality is better than the in-game PostMSAA with how it's set up.)
Back to top
Gitaroo




Posts: 37

PostPosted: Fri, 5th Aug 2011 09:43    Post subject:
crysis 2 is already using FXAA after the new patch.
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 09:45    Post subject:
Crysis 2 always used FXAA (r_PostMSAA_FilterNV = 1) but my theory is they use a older revision of it and very likely also further optimized, with the r_PostMSAA = 0 setting and this used instead (At highest quality, which turned out to already be the default.) a large amount of the blur effect would be removed while still having (superior.) AA functionality. Smile

Same with two other titles I'm currently testing, Duke Forever and Two Worlds 2. Smile

(Though for Crysis 2 it seems modders are busy testing other stuff at the moment, hah - http://www.crymod.com/viewtopic.php?f=311&t=69787 )
Back to top
StrEagle




Posts: 14059
Location: Balkans
PostPosted: Fri, 5th Aug 2011 09:56    Post subject:


Lutzifer wrote:
and yes, mine is only average
Back to top
DarkRohirrim




Posts: 9901
Location: The Void
PostPosted: Fri, 5th Aug 2011 12:04    Post subject:
@JB Can you post some comparison screenshots from Two Worlds 2?


NZXT S340 ELITE : EVGA Z370 FTW / [ Intel i7 8086k @4.0Ghz ][ ASUS TUF RTX 3060 Ti 8GB ][ 16GB G.Skill Trident Z @3200mhz CL16 ][ 128GB Intel760p Series + 1TB Crucial MX500 + 3TB WD RED ][ Thermaltake Toughpower PF1 650W ]
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 12:35    Post subject:
I'll try to get something up, that above with my theory is just that I assume not many (If any.) developer would implement FXAA at it's highest quality so if one can override this the image quality should improve which would mean less blur and better AA but at a somewhat higher performance cost compared to other in-game shader based AA methods.
(Including just FXAA or MLAA, if it works this would also help Deus Ex 3 and with further fixes the entire UE3 lineup and so on.)
Back to top
snoop1050
Banned



Posts: 5057

PostPosted: Fri, 5th Aug 2011 12:42    Post subject:
someone can make some GTAIV comparison shots?
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 12:46    Post subject:
I think there's a few in the forum thread, I'll find them shortly.

EDIT: Beta 7 and 8 are out.
http://www.forum-3dcenter.org/vbulletin/showthread.php?t=510658&page=15

EDIT: Beta 7 has smaller fixes to the D3D9 version and a sharpen filter that can be enabled but probably doesn't do too much and beta 8 adjusts the code somewhat so certain game engines work a bit better with it or so I understood it, more directly it fixes brightness issues like in GTA IV or attempts to.
Back to top
human_steel




Posts: 33269

PostPosted: Fri, 5th Aug 2011 13:19    Post subject:
Awesome find, spajdr. Thanks. Smile
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 13:27    Post subject:
Haha, I never noticed the thread had switched pages since yesterday.
Back to top
human_steel




Posts: 33269

PostPosted: Fri, 5th Aug 2011 13:28    Post subject:
Your contribution is still greatly appreciated as well, J. Very Happy
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Fri, 5th Aug 2011 13:31    Post subject:
Heh well I do a few mistakes here and there, I guess humanity is doomed to always fail.
(One can learn from mistakes as well though so the above isn't entirely bad, everyone makes mistakes after all, I just tend to make a few additional ones. Very Happy )
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 03:45    Post subject:
http://hotfile.com/dl/125975700/ef4f3b1/injectFxaa_by_some_dude_9.7z.html


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
Gitaroo




Posts: 37

PostPosted: Sat, 6th Aug 2011 06:03    Post subject:
JBeckman wrote:
Crysis 2 always used FXAA (r_PostMSAA_FilterNV = 1) but my theory is they use a older revision of it and very likely also further optimized, with the r_PostMSAA = 0 setting and this used instead (At highest quality, which turned out to already be the default.) a large amount of the blur effect would be removed while still having (superior.) AA functionality. Smile

Same with two other titles I'm currently testing, Duke Forever and Two Worlds 2. Smile

(Though for Crysis 2 it seems modders are busy testing other stuff at the moment, hah - http://www.crymod.com/viewtopic.php?f=311&t=69787 )


Crysis 2 original PostAA isnt FXAA, its was some edge filter(close uo) + temporal AA(far away/ sub pixel), they wrote a paper on it there even a video, and it was cheap and fast but blurry. It was replaced recently with the new patch with FXAA. Crytek commented about both on one of the digital foundry interview I believe.
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 06:04    Post subject:
Nope what JB says is correct. It has and always had FXAA1 in addition to what you say.


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sat, 6th Aug 2011 11:38    Post subject:
But not enabled by default, we had to turn that on in the config, and it's still not as good as v3. At least that's what I remember from the few hours I spent with that POS Smile
Back to top
JBeckman
VIP Member



Posts: 34974
Location: Sweden
PostPosted: Sat, 6th Aug 2011 12:25    Post subject:
r_PostMSAA is enabled at the medium preset I think, the style defaulting to a sort of 2x MSAA mode but via a config tweak this can be changed to a 4x mode but I always get flickering with this enabled, r_PostMSAA_FilterNV is enabled at very high and the new ultra preset (Since even the beta on v.high/extreme or what it was called there.) but it's also often disabled via config tweaks since the game has a form of blur shader already and thus you get rather heavily blurred (Though nearly all aliasing is removed.) surfaces, especially noticeable with alpha-transparency objects, mostly vegetation. Smile

Further testing of the FXAA shader via this .dll has been rather difficult and the result is a often overly sharpened image (Even under DX10 titles like Two Worlds 2 and of course the sharpen shader extras are fully disabled.) though the AA effect is very good but the heavy shimmering due to the increased sharpness is troublesome.

Still need to test more, this was with beta 8 and things could have changed in beta 9, as that forum link also shows there's replacement configs and various extra effects modded in also as of page 17 and then onwards with small tweaks and corrections here and there.
(Bloom, vignette effect and a number of other things, I believe this is primarily intended to replace ENB in GTA IV.)
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 16:22    Post subject:
Werelds wrote:
But not enabled by default, we had to turn that on in the config, and it's still not as good as v3. At least that's what I remember from the few hours I spent with that POS Smile


"Extreme" or what it was called the highest quality setting has it enabled by default.


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73196
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 6th Aug 2011 16:37    Post subject:
Doesn't work on Dark Athena. Sad
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Sat, 6th Aug 2011 16:43    Post subject:
consolitis wrote:
Werelds wrote:
But not enabled by default, we had to turn that on in the config, and it's still not as good as v3. At least that's what I remember from the few hours I spent with that POS Smile


"Extreme" or what it was called the highest quality setting has it enabled by default.

Then it was still fucked up by some other filter that was enabled by "Extreme" (Laughing), because the game still looked like one massive washed out piece of shit Smile
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 16:46    Post subject:
iNatan wrote:
Doesn't work on Dark Athena. Sad


Of course, it's OpenGL. Use the included FXAA in the drivers.


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 18:01    Post subject:
Crysis Warhead:

No AA: http://img825.imageshack.us/img825/4897/crysis2011080613433170.png
FXAA: http://img585.imageshack.us/img585/6969/crysis2011080613433281.png

No AA: http://img43.imageshack.us/img43/8607/crysis2011080613450254.png
FXAA: http://img829.imageshack.us/img829/8205/crysis2011080613450141.png


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
akskiller




Posts: 418

PostPosted: Sat, 6th Aug 2011 18:02    Post subject:
Games with ingame AA, do I turn that off to use this?
Back to top
consolitis
VIP Member



Posts: 27318

PostPosted: Sat, 6th Aug 2011 18:05    Post subject:
For better compatibility you should disable it. But you can try both and see what works (best).


TWIN PEAKS is "something of a miracle."
"...like nothing else on television."
"a phenomenon."
"A tangled tale of sex, violence, power, junk food..."
"Like Nothing On Earth"

~ WHAT THEY'RE TRYING TO SAY CAN ONLY BE SEEN ~

http://www.youtube.com/watch?v=CHTUOgYNRzY
Back to top
mroussev




Posts: 776

PostPosted: Sat, 6th Aug 2011 19:17    Post subject:
What is the performance hit with this FXAA and MLAA?
Back to top
DarkRohirrim




Posts: 9901
Location: The Void
PostPosted: Sat, 6th Aug 2011 19:18    Post subject:
consolitis wrote:
Crysis Warhead:

No AA: http://img825.imageshack.us/img825/4897/crysis2011080613433170.png
FXAA: http://img585.imageshack.us/img585/6969/crysis2011080613433281.png

No AA: http://img43.imageshack.us/img43/8607/crysis2011080613450254.png
FXAA: http://img829.imageshack.us/img829/8205/crysis2011080613450141.png


That's way better than what I saw until now. I guess that's thanks to the new version of the FXAA and/or the FXAA being on the highest quality, right?
Back to top
Page 5 of 10 All times are GMT + 1 Hour
NFOHump.com Forum Index - PC Games Arena Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group