Product Chat / FXAA and SMAA in Game Guru

Author
Message
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 5th Nov 2016 16:59 Edited at: 5th Nov 2016 17:03
Hi all,

I've been experimenting with porting FXAA and SMAA anti-aliasing into the GG shader suite.

FXAA seems to be working OK, but if anyone wants to check it for themselves that would help me (it may crash on different resolution, set-ups, think it should be OK, but not sure). And there are 'tuning controls' that affect speed/quality on different set-ups.

SMAA is a different beast and uses pre-computed textures to work its magic. I've got so far with this (I can see the edge detection working OK for example), but I'm fairly sure it needs an engine change to allow the pre-computed textures to be loaded into the post-process shader pipeline, so am leaving this for now until perhaps Lee has some inclination along with the community for post processing changes (there are other changes that would be cool in this domain too - allowing pass through variables from lua to the shaders being one - to allow different effects to be triggered in post process and other areas by lua scripting (think this was possible in FPSC)).

If you're interested in seeing if FXAA improves GG rendering for you I've attached a variation of the post-sao.fx file. This version replaces SAO with FXAA. To use, back-up/rename the original file in effectbank\reloaded, then drop the attached file in its place. Start GG and 'tab tab' to make sure the bloom and SAO intensity sliders are above zero.

Here's a side by side of the difference I see:



Cheers.

Attachments

Login to view attachments
Errant AI
Forum Support
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 5th Nov 2016 18:27
Nice one. Definitely an improvement over the current stair stepping nightmare we have. Of course, I found myself instantly missing SAO.

Sophie's Choice, for sure.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K (passmark 8555), 16GB Corsair DDR3, EVGA GTX 970 SC (passmark 8637), Win10 Pro 64-bit, Primary monitor @ 1920x1080, secondary monitor @ 1280x1024
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Nov 2016 18:56
I must need specsavers ..... I cant see the difference in the pic ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
25-WATTS
8
Years of Service
User Offline
Joined: 23rd Feb 2016
Location:
Posted: 5th Nov 2016 21:28 Edited at: 5th Nov 2016 21:32
@synchromesh

Well my hearing is off but I still have good eyesight, and I see a big difference with the two pictures. But did you not say some time back you are still using the old VGA connection to your monitor, you maybe need a HDMI / DVI output to see this better.

EDIT Just looked at it with VGA Monitor and I can still see the difference.
PM
MStockton
9
Years of Service
User Offline
Joined: 28th Apr 2015
Location: Texas & Finland
Posted: 6th Nov 2016 00:02
I'm using two monitors. One huge, one small. The smaller one is mostly for file browsing and has a lower, chunky resolution so I can see it with my bad eyes from more than two feet away. On that one, it's not so clear, but I do see the a difference. On the big screen, it's a big, nice difference.
I'll add an avatar and a real signature someday. I think...
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 6th Nov 2016 00:10
I can definitely see the difference in the pics here. I have recently re installed Reshade, though, and after installing this shader, everything still looks Reshade pretty!
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 6th Nov 2016 15:44
Great cybernescence!, thanks for sharing.

I've made some test with some asests I'm working on, with nice results.

Here clock tower corners before you notice edges antialiazing issues; now you can notice difference in pic below



The same with the chairs woods



Quote: " I have recently re installed Reshade"

I didn't know about that software, I was surfing a bit, and it has interisting features, I'll take a look later.

3com


Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
25-WATTS
8
Years of Service
User Offline
Joined: 23rd Feb 2016
Location:
Posted: 6th Nov 2016 16:45 Edited at: 6th Nov 2016 21:00
Thanks cybernescence this is great for me as I use a 4:3 monitor @ 1024 x 768 display resolution a lot of the time for GameGuru and this makes the picture so much better on the eye.

Attachments

Login to view attachments
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 6th Nov 2016 17:26
No problems here. Been tweaking a level for the last 2 days and used this while doing so, no issues. I can see a difference, it improves the edges nicely. Doesn't stop the GG flash effect though with z depth issues That would improve visuals significantly. Pity we can't have both SAO and FXAA...


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 6th Nov 2016 19:50
Quote: "Doesn't stop the GG flash effect though with z depth issues "

Hate this behaviour

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 6th Nov 2016 21:49
Thanks for the feedback all. Seems that most are getting some benefit and is stable so far.

We can definitely get SAO & FXAA working together (I have a version with this, just needs tidying up a bit) so will update this thread with that version soon for those who want both.

[ thanks for the user banner too - that's great ]

Cheers.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 9th Nov 2016 10:39
Attached is a version with stock SAO and FXAA added.

Hopefully it will work OK for you - let me know if it doesn't and I'll try and fix.

Same 'install' as before - back-up/rename the original post-sao.fx file in effectbank\reloaded, then drop the attached file in its place.

Cheers.

Attachments

Login to view attachments
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 9th Nov 2016 12:48
Nice one!


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 9th Nov 2016 15:36
Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Wolf
Forum Support
17
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 10th Nov 2016 16:54
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 11th Nov 2016 17:49
Just thought I'd let you know it works great. Just tested it on 100% and still getting a reasonable frame rate. I think I lose about 3 fps with SAO and FXAA on 100. This is on a large map which ran at about 31-80 FPS dependent on your location. All rough edges are gone and still have the SAO effect which is nice.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 12th Nov 2016 22:46
Thanks for the feedback DVader - appreciate it.

Cheers.

Login to post a reply

Server time is: 2024-11-24 21:49:01
Your offset time is: 2024-11-24 21:49:01