PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Alles rund um FXAA


Seiten : 1 [2] 3 4 5

dargo
2011-08-04, 16:53:23
Ich glaube nur Spiele im 32 Bit Modus sind lauffähig.
Jep... darauf wird sich auch denke ich der Hinweis in der Readme beziehen und nicht auf das OS selbst.

some ideia
2011-08-04, 16:59:46
some_dude,

can u change/disable Screenshot and enable/disable keys ? or give us a custom inputs (combos) like enbseries with SHIFT+F12:

http://enbdev.com/doc_input_en.htm

Thanks

is me
2011-08-04, 17:02:11
Please, a mirror for update 6 !!!!

Crux
2011-08-04, 17:04:15
Jep... darauf wird sich auch denke ich der Hinweis in der Readme beziehen und nicht auf das OS selbst.

offensichtlich, steht alles hier im Thread;

The hook is a 32 bit library afaik (which runs without any problems inside a 64 Bit host/ OS like eg. Windows 7 64 Bit), so if you'd have a game with alternative/ optional 64 bit files you'd have to use the 32 bit client if you'd want it to work, most games still are 32 bit only and just some few have additional 64 bit client stuff on board right out of the box or later added through some patch so this shouldn't be much of an issue I guess.

Powerp1ay
2011-08-04, 17:37:27
Ich habe mal ein paar screens gemacht mit BFBC2@DX9 mit AMD grafikkarte!
24xCFAA+FXAA ist eigentlich das beste bild finde ich weil da ist wirklich alles glatt und es flimmert kaum weil nur wenig nachgeglättet wird!
Ich habe allerdings den LOD auf -0,3 gestellt um die unschärfe ab zu fangen nur leider habe ich auch bei den bildern ohne FXAA vergessen den LOD wieder auf 0 zu stellen!
Ich kann nur sagen das der schärfeverlust bei FXAA mit lod -0,3 zu ohne fxaa mit LOD 0 quasi kaum vorhanden ist!
---------1XAA-------------------------1xAA+FXAA-------------------24xCFAA-----------------24xCFAA+FXAA------
http://apload.de/thumb/131888/1xaa74SD4.jpg (http://apload.de/bild/131888/1xaa74SD4.jpg)http://apload.de/thumb/131889/1xaafxaaPIS5O.jpg (http://apload.de/bild/131889/1xaafxaaPIS5O.jpg)http://apload.de/thumb/131890/24xaa3EEQG.jpg (http://apload.de/bild/131890/24xaa3EEQG.jpg)http://apload.de/thumb/131891/24xaafxaaM91GX.jpg (http://apload.de/bild/131891/24xaafxaaM91GX.jpg)

Gast
2011-08-04, 17:41:01
[some dude]
Before posting any links to huge demos, please confirm yourself that this particular demo doesn't work with the latest release. Additionally confirm yourself that the demo works in the first place.

@Phaid: The Settlers 7 demo tells me: "The demo has officially ended.". Looks like I wasted my time on that one.

Blaire
2011-08-04, 17:44:07
24xCFAA+FXAA ist eigentlich das beste bild finde ich weil da ist wirklich alles glatt und es flimmert kaum weil nur wenig nachgeglättet wird!


Also gefällt dir Matsch? Ich würde so nicht spielen wollen selbst die Kantenglättung ist recht bescheiden, wenn man davon sprechen kann.

Powerp1ay
2011-08-04, 17:49:36
Ja was ich sagen?? ich habe extra den LOD auf -0,3 gestellt um das bild schärfer zu machen!
Mit AMD haste halt keine andere möglichkeit das bild glatt zu bekommen und mit MLAA siehts aus als hätte man das spiel mit nem bundstift gemahlt--- zum kotzen!
Ich habe halt ein wenig rumprobiert!
Bei DX9 kann man ja mit NV per bits alles glatt bekommen nur nicht bei AMD da schauste in die röhre!
Ich werde gleich mal mit DX11 und der neuen beta testen wie es aussieht..

Blaire
2011-08-04, 17:54:14
Vieleicht kann man beim FXAA noch ein schärferes Ergebnis hinbekommen, aber das wäre mir wirklich zu extrem. Aber will nicht meckern. :)

Ronny145
2011-08-04, 18:00:23
Vieleicht kann man beim FXAA noch ein schärferes Ergebnis hinbekommen, aber das wäre mir wirklich zu extrem. Aber will nicht meckern. :)

Er hat es extra auf unscharf gestellt. So blurrt es stärker als mit default shader Datei.

Phaid
2011-08-04, 18:05:15
[some dude]
@Phaid: The Settlers 7 demo tells me: "The demo has officially ended.". Looks like I wasted my time on that one.

Oh dear, I'm so sorry, I had no idea Ubisoft discontinued the demo, I thought it still works. ;( Why the hell did they do this?

Well, that is unfortunate - no AA for Settlers 7, it seems. Bummer. Thank you for trying to help, anyway. ;(

dargo
2011-08-04, 18:06:28
offensichtlich, steht alles hier im Thread;
Wenn man der englischen Sprache nicht mächtig ist ist das gar nicht so offensichtlich. ;)

Mr. Lolman
2011-08-04, 18:16:40
Ja was ich sagen?? ich habe extra den LOD auf -0,3 gestellt um das bild schärfer zu machen!
Mit AMD haste halt keine andere möglichkeit das bild glatt zu bekommen und mit MLAA siehts aus als hätte man das spiel mit nem bundstift gemahlt--- zum kotzen!
Ich habe halt ein wenig rumprobiert!
Bei DX9 kann man ja mit NV per bits alles glatt bekommen nur nicht bei AMD da schauste in die röhre!
Ich werde gleich mal mit DX11 und der neuen beta testen wie es aussieht..
Unter DX9 geht ja auch bei Ati sgssaa o_O...

LovesuckZ
2011-08-04, 18:19:40
Bringt ihm nichts, wenn er Full-Scene AA möchte...

Powerp1ay
2011-08-04, 18:20:03
Er hat es extra auf unscharf gestellt. So blurrt es stärker als mit default shader Datei.
Ich habe extra per -0,3 LOD die schärfe angezogen was ingame auch deutlich sichtbar ist! Ich habe gestern abend viel ausprobiert und nur mit diesen einstellungen wie ich sie nun habe wurden alle kanten von FXAA+24xCFAA erfast. Und wie gesagt die unschärfe wird durch den minus LOD im spiel im vergleich zur orginal optik gut abgefangen wodurch es dann meiner meinung nach recht passabel aussieht!
Da habt ihr noch zwei bilder! Leider kein vergleich ohne FXAA aber die bäume und auch das windrad sind nun einigermaßen glatt weil wer sich so ein windrad ansieht der nur in game MSAA nutzt weiß wie viel besser es geworden ist!
http://apload.de/thumb/131885/1TWX4V.jpg (http://apload.de/bild/131885/1TWX4V.jpg)http://apload.de/thumb/131886/2NMMUE.jpg (http://apload.de/bild/131886/2NMMUE.jpg)
Ich werde gleich mal die Beta 6 mit BFBC2 DX11 testen wenns läuft...

Gast
2011-08-04, 18:27:51
Unter DX9 geht ja auch bei Ati sgssaa o_O...

jo mit 2/3 rendering wer will so was schon haben.

Gast
2011-08-04, 18:29:52
Vieleicht kann man beim FXAA noch ein schärferes Ergebnis hinbekommen, aber das wäre mir wirklich zu extrem. Aber will nicht meckern. :)

ging nur darum um zu sehen ob eingestellte aa werte übernommen werden mit fxaa...das heist nähmlich beim test solch games alles fein auf aus stellen, gelle :D

Mr. Lolman
2011-08-04, 18:32:59
Ich weiss ja nicht, welche bits momentan grad aktuell sind, aber die zum zeitpunkt des gtx570 reviews verfuegbaren brachten auch kein besseres ergebnis als das ati aa...

Crux
2011-08-04, 18:35:42
Nicht vergessen das in manchen Games Effekte ausgeblendet werden wenn erzwungenes AA/ AA Bits zum Einsatz kommen. Daher ist ausschließlich FXAA+downsampling in jenen Fällen vorzuziehen.

Gast
2011-08-04, 18:38:45
Nicht vergessen das in manchen Games Effekte ausgeblendet werden wenn erzwungenes AA/ AA Bits zum Einsatz kommen. Daher ist ausschließlich FXAA+downsampling in jenen Fällen vorzuziehen.

quark³
da fehlt nur event was wenn ingame von den blurübertreibern sämtliche Einstellungen die nur im entferndesten damit was zutun haben deakt. werden.

Gast
2011-08-04, 18:40:19
Nicht vergessen das in manchen Games Effekte ausgeblendet werden wenn erzwungenes AA/ AA Bits zum Einsatz kommen. Daher ist ausschließlich FXAA+downsampling in jenen Fällen vorzuziehen.

und wenn du das willst mußte erstmal alle profile löschen und alles auf aus stellen das du nur fxaa bekommst was ein quatsch.

Crux
2011-08-04, 18:43:07
quark³
da fehlt nur event was wenn ingame von den blurübertreibern sämtliche Einstellungen die nur im entferndesten damit was zutun haben deakt. werden.

Nur weil manche Leute kein Auge für Details haben muss es kein Quark sein, aber du bist frei anzunehmen das du unfehlbar bist und da dir ja nix aufgefallen war kann es also ergo ja garnicht stimmen. Klar ne?

und wenn du das willst mußte erstmal alle profile löschen und alles auf aus stellen das du nur fxaa bekommst was ein quatsch.
aehm, alles klar, hast du dir ja alles schön ausgemalt, davon habe ich aber nicht gesprochen. Aber gut das du deine verquere logik selbst als quatsch interpretierst. Dann ist ja noch nicht alles verloren.

Phaid
2011-08-04, 18:52:46
Update on Settlers 7 - THANK YOU Some Dude, FXAA works with version 6 of your release! Just tried it out and the results are fantastic!

My apologies for bothering you with downloading the demo version once again, you've done a PHENOMENAL job on updating your work. Thank you!

Do you happen to have a paypal account? I'm so happy and so grateful I'll gladly donate.

Gast
2011-08-04, 19:46:32
[some dude]
@Phaid: Yes a have a PayPal account, however you are putting me in a big dilemma.
On the one hand, I invested really much energy into this project and am currently saving money to have a good DirectX 11 capable machine to work with.
On the other hand, I did not intend to create this project for profit of any kind ("some dude" already suggests that it is not my usual nickname). Additionally, those great games are made by the the game studios and FXAA itself was created by nVidia.
All in all I have to thankfully refuse your donation and just continue to improve the current version.

Crux
2011-08-04, 20:02:15
Some more feedback on these bugs: http://www.forum-3dcenter.org/vbulletin/showthread.php?p=8866916#post8866916 [solved]

Can confirm solves the darkening problem. Thanks for your effort and please relay my [B]thanks to the developer. I'll keep using it to see if any other issues arise. Thanks again.

You're welcome, will do!

Just to clarify does it solve the "darkening" in all the games you've reported that bug in or only in The Last Remnant?

All of them thus far.

[Anarki_Hunter]
2011-08-04, 20:18:58
@[some dude]

Thank you for the AWESOME DLL wrapper...Risen looks really great with FXAA.

(this would be asking for tooo much), Would it be possible to add a sharpening filter and then do FXAA over it!. Like how Witcher 2 does!!!... It might partially remove excessive blurring over default textures.

Ronny145
2011-08-04, 20:30:21
Hat sich jemand an Metro 2033 versucht?

Der Demo Ordner sieht so aus:

http://www.abload.de/img/metro20332c9m.png


Weder mit den dx9 noch den dx10/11 Files bekomme ich FXAA ans laufen.

Ronny145
2011-08-04, 22:02:17
[some dude]
About Crysis:
After it took forever to download and install Crysis Demo on my very limited machine it took only a few moment to figure out the reason for the crash.
Actually it is working with the current beta (5). However you have to put the *.dll files ("dxgi.dll" worked fine in my case) into the "Bin32" folder and the the shader files into the main directory.



Do you have Crysis still installed or already removed? DX10 mode with DX10 files is working for me too, but there are graphical glitches in dx9 mode with dx9 files (-dx9 shortcut).

For Example...

NoAA
http://www.abload.de/img/crysisnoaakpuv.png

FXAA Beta6
http://www.abload.de/img/crysisbeta6fxaaoopq.png

Gast
2011-08-04, 22:02:22
[some dude]
Minor changes in d3d9 mode, no changes in d3d10 (due to no bugreports with small demos and my lack of d3d11 hardware).
Additionally I gave Anarki_Hunter's suggestion some attention.
Beta 7 gives you the possibility to add a sharpening pass in DirectX 9 prior to fxaa execution.
The readme contains how.

http://hotfile.com/dl/125884644/6d01438/injectFxaa_by_some_dude_7.7z.html

Don't expect much from the sharpening pass. I just took some random sharpen shader and did not tune any parameters. You can experiment with own sharpening shaders if you can work with hlsl. Let me know if there is a good one.

Gast
2011-08-04, 22:18:43
Borderlands gets Dark, like with very low Brighness when FXAA is activated.

Guest
2011-08-04, 22:19:53
Dr Who Adventures working but needs FXAA_GREEN_AS_LUMA 1

Off:
http://i.imgur.com/yNeITs.jpg (http://imgur.com/yNeIT)

On:
http://i.imgur.com/5CXcMs.jpg (http://imgur.com/5CXcM)

Gast
2011-08-04, 22:23:36
Borderlands gets Dark, like with very low Brighness when FXAA is activated.

You seem to use an older (outdated version) as this bug was fixed from version 6 on. Please check which version you are using.

boxleitnerb
2011-08-04, 22:36:21
Braucht man jetzt für jedes Spiel unterschiedliche Einstellungen/Dateien? Wer soll da denn durchblicken? Ich jedenfalls nicht :)

Crux
2011-08-04, 22:40:26
Braucht man jetzt für jedes Spiel unterschiedliche Einstellungen/Dateien? Wer soll da denn durchblicken? Ich jedenfalls nicht :)

häh? wie kommste denn da drauf?

Es gibt 3 render paths hooks (DX9, DX10 und DX11), das erfordert schlimmstenfalls minimalstes überlegen.

boxleitnerb
2011-08-04, 22:41:50
Naja es kam mir so vor, dass man das immer bzgl. Schärfe und Glättung je nach Spiel selbst anpassen muss.

Wenn da eine Datei ausreicht, ist das natürlich toll.

Crux
2011-08-04, 22:43:30
Naja es kam mir so vor, dass man das immer bzgl. Schärfe und Glättung je nach Spiel selbst anpassen muss.

Wenn da eine Datei ausreicht, ist das natürlich toll.

Nein, nein, er hat nur auf Vorschlag eines "schärfe-fans" einen zusätzlichen "sharpening pass" in DirectX 9 vor der FXAA anwendung optional beigelegt. Optional, also da muss sich keiner mit beschäftigen. Letztlich kann man gerade auch im FXAA Shader vieles noch manuell optimieren, muss man aber keinesfalls und die von Ihm zur Verfügung gestellte Version wurde bisher gut angepasst.

Gast
2011-08-04, 22:43:55
[some dude]
Sorry guys, I tried to consider all the different game engines I encountered so far and sometimes a new version creates and breaks compatibilities at the same time.

However, I think to have found a good solution for the "darkness" problem which also fixes Crysis 1 -dx9 (Thanks Ronny145). From how I expect GTA4's engine to work, it also may fix the lights.

http://hotfile.com/dl/125887302/d5a49f2/injectFxaa_by_some_dude_8.7z.html

Ronny145
2011-08-04, 22:43:59
Naja es kam mir so vor, dass man das immer bzgl. Schärfe und Glättung je nach Spiel selbst anpassen muss.

Wenn da eine Datei ausreicht, ist das natürlich toll.


Das ist kein Muss. Man kann aber durch individuelle Anpassung der Parameter im jeweiligen Spiel eine bessere Bildqualität erreichen.

Crux
2011-08-04, 23:03:25
[some dude]
Sorry guys, I tried to consider all the different game engines I encountered so far and sometimes a new version creates and breaks compatibilities at the same time.

However, I think to have found a good solution for the "darkness" problem which also fixes Crysis 1 -dx9 (Thanks Ronny145). From how I expect GTA4's engine to work, it also may fix the lights.


No problem mate, wondered about that myself, do you think you can stick with the one pack fits all approach or wouldn't it get terribly complicated at some point?

Blaire
2011-08-04, 23:09:14
Braucht man jetzt für jedes Spiel unterschiedliche Einstellungen/Dateien? Wer soll da denn durchblicken? Ich jedenfalls nicht :)

Je nach Geschmack klar. Ich hab hier im Thread schon einige Screenshots gesehn, die mir so nicht gefallen würden und wo eine Anpassung nötig wäre. Man kann das vieleicht erleichtern in dem man z.b. 3 verschiedene Presets anbietet.

Ronny145
2011-08-04, 23:22:55
[some dude]
From how I expect GTA4's engine to work, it also may fix the lights.

http://hotfile.com/dl/125887302/d5a49f2/injectFxaa_by_some_dude_8.7z.html


Yes you are right it repairs the lights in GTA4. There is no issue anymore with the lighting. As I said the edge smoothness in GTA4 was better with Beta6, unfortunately the older shader.fx doesn't work anymore. What I have to do in order to go back to Beta6 smoothness state?

Gast
2011-08-04, 23:26:32
First of all, thank you for the work you have done and continue doing. These last couple days have been a very exciting time trying out your DLL's with different games. The quality to performance ratio is wonderful!

I have a question to everyone testing. Have you noticed that it is impossible to enable vsync when using these DLL's? I can't seem to enable vsync from in-game, control panel, or via forcing with D3DOverrider if the DLL's are being used.

Guest
2011-08-04, 23:36:44
I have a question to everyone testing. Have you noticed that it is impossible to enable vsync when using these DLL's? I can't seem to enable vsync from in-game, control panel, or via forcing with D3DOverrider if the DLL's are being used.

No problems with vsync when I tested with Dr Who, Champions Online, Multi Theft Auto and Dead Space.

GTX 480 on v280.19

Gast
2011-08-04, 23:49:05
[some dude]
@Ronny145: The best way to tune smoothness is by modifying fxaaQuality parameters in the FxaaPixelShader's arguments. You can also try to modify luma calculation in the lines:
c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
//c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
e.g. change it to
//c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
Tell me if changing those lines improves visual quality. All games engines work differently so I'm unsure myself what to pick in the general case.

About vsynch: don't always trust fraps or similar applications, they could conflict with my methods. I made a few test and vsynch worked in all of them (no visible tearing).

[Anarki_Hunter]
2011-08-05, 00:28:30
@[somedude]

Kewl, with the sharpness filter provided at stock settings...so much difference in game textures between geometries O_O (looks so much different better in the game, wowoo!) and with FXAA applied removes long AA edges (but highlights very short AA edges, due to the sharpness factor).

Also need to find settings to decrease sharpness hallow;

Thank you, Sire..

/me goes back to optimizing

spajdr
2011-08-05, 01:24:08
Hello people,
Can anyone please test if fxaa mod works with Divinity II Ego Draconis?

EDIT.: it works!

IFZ
2011-08-05, 01:24:27
Just want to said great work on the FXAA hook. I just wander if anyone tried working it together with enb series ProxyLibrary?

since the d3d9.dll of the FXAA hook have to be rename, does it have any effect it the FXAA will work or not?

http://enbdev.com/doc_proxy_en.htm

Giznat
2011-08-05, 02:17:35
Just want to said great work on the FXAA hook. I just wander if anyone tried working it together with enb series ProxyLibrary?

since the d3d9.dll of the FXAA hook have to be rename, does it have any effect it the FXAA will work or not?

http://enbdev.com/doc_proxy_en.htm

I am sorry for my english, but I would just like to thank you for this! It works amazing in RIFT however there is one small issue and I was wondering how I would go about solving it. As you can see in the below screenshot:

http://img200.imageshack.us/img200/1441/enabled.png

around each edge of the image (this is also in-game) there is a small white border in each corner. I just thought I'd bring this to your attention and see about getting it fixed. I'd also like to share that I showed this on the official forums as an alternative to the horrible in-game AA that's included in RIFT.

Keep up the good work and thanks again!

Gast
2011-08-05, 04:48:36
I am sorry for my english, but I would just like to thank you for this! It works amazing in RIFT however there is one small issue and I was wondering how I would go about solving it. As you can see in the below screenshot:

http://img200.imageshack.us/img200/1441/enabled.png

around each edge of the image (this is also in-game) there is a small white border in each corner. I just thought I'd bring this to your attention and see about getting it fixed. I'd also like to share that I showed this on the official forums as an alternative to the horrible in-game AA that's included in RIFT.

Keep up the good work and thanks again!

Gast the one FXAA that make it not me.

I'm just asking if it possible to run the FXAA together with Enb series, using Enb proxy library

racerx
2011-08-05, 05:00:00
Try it on rFactor (http://rfactor.net/) and i think dll is working because i can take screenshot, but no Fxaa on game :(

[Anarki_Hunter]
2011-08-05, 06:57:47
Hello people,
Can anyone please test if fxaa mod works with Divinity II Ego Draconis?

EDIT.: it works!

Yes, the FXAA DLL wrapper does work ^_^...

Gast
2011-08-05, 07:13:45
the fxaa doesn't work on gta4

but it work on lineage 2......

and the Emulator Dolphin ,

but i won't try pcsx2~

great job~

sorry for my poor english~

Gast
2011-08-05, 07:27:48
will it support opengl in the future?

3Q~

439
2011-08-05, 07:57:18
Zur Aktivierung von FXAA mit ENB Series:

man entpacke den d3d9 ordner. nenne die d3d9.dll in zB d3d9FXAA.dll um. dann öffne man die enbseries.ini und ändere die ersten befehle unter PROXY auf das hier ab:

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9FXAA.dll

poop
2011-08-05, 09:28:05
Zur Aktivierung von FXAA mit ENB Series:

man entpacke den d3d9 ordner. nenne die d3d9.dll in zB d3d9FXAA.dll um. dann öffne man die enbseries.ini und ändere die ersten befehle unter PROXY auf das hier ab:

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9FXAA.dll
You don't even need FXAAhook with ENB series since ENB can execute the shader itself. All you need to do is put the shader into effect.txt.

Gast
2011-08-05, 09:44:00
Crysis2 (DX11) startet nicht (beta8).

Ronny145
2011-08-05, 11:24:06
Crysis2 (DX11) startet nicht (beta8).

Gibt es dort auch einen Bin32 Ordner? Du musst die dll in den Bin32 Ordner kopieren und die anderen Files ins Hauptverzeichnis.

Gast
2011-08-05, 11:42:38
[some dude]
@racerx: I just downloaded and tested rFactor. FXAA (beta 8) worked as it is supposed to. No workarounds were needed. Maybe you forgot to use DirectX 9 or diasble multisampling or other tools which force those settings.
http://www.abload.de/thumb/screenshot979d7gc.png (http://www.abload.de/image.php?img=screenshot979d7gc.png) http://www.abload.de/thumb/screenshot1282b7za.png (http://www.abload.de/image.php?img=screenshot1282b7za.png)

People please try those simple things like changing game/driver setting, using different directories or the FXAA_GREEN_AS_LUMA workaround yourself before saying "it doesn't work". Also the contents of the "log.log" file are very important for me to find any bugs (even an empty logfile has a meaning).

Ronny145
2011-08-05, 12:10:10
I've tried the sharpen filter, it's way too strong actually. Lowered the moyenne value but not enough.

Gast
2011-08-05, 12:14:22
Can't get it to work in MW2, any ideas? BFBC2 - both DX9 and DX11 work just fine. Awsome stuff man.

Gast
2011-08-05, 12:19:46
Gibt es dort auch einen Bin32 Ordner? Du musst die dll in den Bin32 Ordner kopieren und die anderen Files ins Hauptverzeichnis.

alles klar danke Dir, läuft.

439
2011-08-05, 12:30:55
@poop
you are right, but this way it also works with iCEnhancer 1.2.5 which already has a existing d3d9.dll

does it really work with Crysis2? :D i'll try when i get home with 2880x1800 and see post some results :)

Gast
2011-08-05, 12:36:48
http://www.abload.de/thumb/crysis22011-08-0512-17bp1b.png (http://www.abload.de/image.php?img=crysis22011-08-0512-17bp1b.png)

Ronny145
2011-08-05, 12:54:49
[some dude]
@Ronny145: The best way to tune smoothness is by modifying fxaaQuality parameters in the FxaaPixelShader's arguments. You can also try to modify luma calculation in the lines:
c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
//c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
e.g. change it to
//c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
Tell me if changing those lines improves visual quality. All games engines work differently so I'm unsure myself what to pick in the general case.

Yes it helps to smooth out GTA Indoor scenes. But then it's worse in Dirt 2 on the car. Found an optimal general setting for me, best smoothness in Dirt 2 and GTA 4 with same sharpness (except GTA4 Indoor, but it's much smoother). Beta 8 with

//c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha

and

0.100, //fxaaQualityEdgeThreshold

racerX
2011-08-05, 13:27:08
[some dude]
@racerx: I just downloaded and tested rFactor. FXAA (beta 8) worked as it is supposed to. No workarounds were needed. Maybe you forgot to use DirectX 9 or diasble multisampling or other tools which force those settings.
http://www.abload.de/thumb/screenshot979d7gc.png (http://www.abload.de/image.php?img=screenshot979d7gc.png) http://www.abload.de/thumb/screenshot1282b7za.png (http://www.abload.de/image.php?img=screenshot1282b7za.png)

Oh man, totally forgot to turn off AA :( please put this waring on readme, lol !!!

btw, this game use Insert and Delete to change cameras, can u do a key combo to enable/disable fxaa and take sshots ?

:)

Crux
2011-08-05, 14:13:20
Someone reported this, anyone else seeing this?

I have a problem, when i use DX10 or DX11 my resolusion gets raped and is forced into a 1280x720, this happens with every game that dosnt run in DX9.I have a 5970 though so i dunno wats the problem.

Jerry Lynn
2011-08-05, 16:08:24
MSAA (forced with RadeonPro) + FXAA works with Torchlight but not with any other game. I find that 2xMSAA plus FXAA works really well, would it be possible to add that ability to other games in a future update? Keep up the great work!

Gast
2011-08-05, 16:30:55
MSAA (forced with RadeonPro) + FXAA works with Torchlight but not with any other game. I find that 2xMSAA plus FXAA works really well, would it be possible to add that ability to other games in a future update? Keep up the great work!

has fxaa always worked with torchlight for you? it doesnt work for me, can someone help? i get this: http://img405.imageshack.us/img405/5052/screenshot78n.th.png (http://imageshack.us/photo/my-images/405/screenshot78n.png/)

Gast
2011-08-05, 16:31:42
Someone reported this, anyone else seeing this?

I did, in BFBC2 DX11 using ver. 5. Res just got reverted to defaults, no big deal.

Der Wind
2011-08-05, 16:32:08
Can I get banned by VAC or Punkbuster for using this ?

Crux
2011-08-05, 16:40:56
Can I get banned by VAC or Punkbuster for using this ?

I wrote Valve about it, they don't usually comment on stuff around the methods of VAC but to stay save don't play anything on anti cheat enabled servers for now. Be it VAC, punkbuster or whatever,.. (also [EDIT:Steam] bans are delayed so you can't find out after a few tries instantly or say just a few days later).

If you think about how a dll hook/ injection works, I guess that's exactly that stuff which can be abused/ used for cheats, maybe highlight certain stuff or something, so it could be entirely possible something like this even tho in this case it aint a cheat could be detected (as a false positive; or maybe even as some method trying to get around copy protection; tempering with game files) and result in a ban.

Gast
2011-08-05, 16:46:17
I'd be much obliged for some instruction on what parameters to change and how if I wanted more edges to get anti-aliased. I don't really mind some extra blurriness.

Ronny145
2011-08-05, 16:53:24
I'd be much obliged for some instruction on what parameters to change and how if I wanted more edges to get anti-aliased. I don't really mind some extra blurriness.

Basically these parameters are important. If you don't mind extra blur try with 0,75 subpix, 0.100 EdgeTreshold, 0.0625 EdgeTresholdMin.

0.50, //fxaaQualitySubpix (default: 0.75)
0.166, //fxaaQualityEdgeThreshold
0.0833, //fxaaQualityEdgeThresholdMin



// Only used on FXAA Quality.
// This used to be the FXAA_QUALITY__SUBPIX define.
// It is here now to allow easier tuning.
// Choose the amount of sub-pixel aliasing removal.
// This can effect sharpness.
// 1.00 - upper limit (softer)
// 0.75 - default amount of filtering
// 0.50 - lower limit (sharper, less sub-pixel aliasing removal)
// 0.25 - almost off
// 0.00 - completely off
FxaaFloat fxaaQualitySubpix,
//
// Only used on FXAA Quality.
// This used to be the FXAA_QUALITY__EDGE_THRESHOLD define.
// It is here now to allow easier tuning.
// The minimum amount of local contrast required to apply algorithm.
// 0.333 - too little (faster)
// 0.250 - low quality
// 0.166 - default
// 0.125 - high quality
// 0.063 - overkill (slower)
FxaaFloat fxaaQualityEdgeThreshold,
//
// Only used on FXAA Quality.
// This used to be the FXAA_QUALITY__EDGE_THRESHOLD_MIN define.
// It is here now to allow easier tuning.
// Trims the algorithm from processing darks.
// 0.0833 - upper limit (default, the start of visible unfiltered edges)
// 0.0625 - high quality (faster)
// 0.0312 - visible limit (slower)

Crux
2011-08-05, 17:05:56
I wrote Valve about it, they don't usually comment on stuff around the methods of VAC but to stay save don't play anything on anti cheat enabled servers for now. Be it VAC, punkbuster or whatever,.. (also bans are delayed so you can't find out after a few tries or say just a few days later).

If you think about how a dll hook/ injection works, I guess that's exactly that stuff which can be abused/ used for cheats, maybe highlight certain stuff or something, so it could be entirely possible something like this even tho in this case it aint a cheat could be detected (as a false positive; or maybe even as some method trying to get around copy protection; tempering with game files) and result in a ban.

@some dude
if you think this is possible from your viewpoint as a professional, please add it to your readme, as a disclaimer of sorts, yeah it might seem like common sense to us, but we all know if shit happens usually ppl need someone else to blame would hate seeing that being you.

Powerp1ay
2011-08-05, 17:06:02
BFBC2@DX9 FXAA Runing!
BFBC2@DX10 FXAA Runing!
BFBC2@DX11 FXAA NOT Runing!
Homefront@DX11 FXAA NOT Runing!
Crysis 2@DX11 FXAA--> Crash!!!
Stalker Clear Sky@DX11 FXAA --> Crash!!!

Testing@ HD6970

Powerp1ay
2011-08-05, 17:55:52
Kann mir einer helfen BFBC2@DX11 zum laufen zu bekommen?
Ich habe nun die FXAA vers. 8.7 und bei BFBC2 funktioniert kein FXAA mit DX11!
Wenn ich das auf DX10 oder DX9 stelle geht FXAA ohne weiteres!
BFBC2@DX11 log.log sagt das-->
redirecting CreateDXGIFactory
redirecting CreateDXGIFactory
redirecting IDXGIFactory->CreateSwapChain
redirecting CreateDXGIFactory
redirecting IDXGIFactory->CreateSwapChain
pDevice->CreateDeferredContext failed

Hat jemand BFBC2@DX11 überhaupt schon getestet??

Gast
2011-08-05, 18:13:59
[some dude]
@Crux: Ok, I will add a line in the next release.
I guess it depends on the anti-cheating-measure quality. Kind of similar techniques are used e.g. in wallhacks or aimbots, however those hacks interact with the rendering pipeline in a completely different fashion, so maybe a good anti-cheating measure can see that.

Regarding my tool itself beta 8 seems to have a nice compatibility now DirectX 9.
As for DirectX 10/11, if you see the line "pDevice->CreateDeferredContext failed" in the logfile while FXAA cannot be enabled (though no crash), then it probably won't work with future releases. Basically the engine designers *tuned* it too much and making those games work will cost compatibility to other games.

To my knowledge, the tool only crashes when wrong directories are used (e.g. Crysis when some files go into one directory and some into an other).

Crux
2011-08-05, 18:20:40
[some dude]
@Crux: Ok, I will add a line in the next release.
I guess it depends on the anti-cheating-measure quality. Kind of similar techniques are used e.g. in wallhacks or aimbots, however those hacks interact with the rendering pipeline in a completely different fashion, so maybe a good anti-cheating measure can see that.

That was what I was hoping for, and maybe now that Valve knows about it they may be able to make sure VAC is not triggered on this hook. Not sure if they would do that and even less if they would comment on on it. But we can only do so much. So I guess it's still good to give a fair warning about it.

Blaire
2011-08-05, 18:21:23
@some_dude:
There is a problem with Gothic: Arcania with the last version of the FXAA Tool. The Clouds are represented incorrectly.

http://www.abload.de/thumb/arcaniaprob6ehq.png (http://www.abload.de/image.php?img=arcaniaprob6ehq.png)

Video:
http://www.file-upload.net/download-3639991/Arcania-2011-08-05-22-18-13-85.avi.html

Demo-DL here:
http://www.chip.de/downloads/Gothic-4-Arcania-Demo_44837524.html

boxleitnerb
2011-08-05, 18:22:49
Könnte mir bitte jemand mal sagen, wie genau man das FXAA aktivieren kann? Muss da je nach Spiel was in ein bestimmtes Verzeichnis kopiert werden oder wie funktioniert das?

Gast
2011-08-05, 18:25:17
I wrote Valve about it, they don't usually comment on stuff around the methods of VAC but to stay save don't play anything on anti cheat enabled servers for now. Be it VAC, punkbuster or whatever,.. (also bans are delayed so you can't find out after a few tries or say just a few days later).

If you think about how a dll hook/ injection works, I guess that's exactly that stuff which can be abused/ used for cheats, maybe highlight certain stuff or something, so it could be entirely possible something like this even tho in this case it aint a cheat could be detected (as a false positive; or maybe even as some method trying to get around copy protection; tempering with game files) and result in a ban.

AFAIK Both VAC and PB shouldn't take any legal actions against it. Been playing BFBC2 for a while now and no problems have surfaced so far.
BTW, PB's bans are instant.

Banshee18
2011-08-05, 18:28:17
Könnte mir bitte jemand mal sagen, wie genau man das FXAA aktivieren kann? Muss da je nach Spiel was in ein bestimmtes Verzeichnis kopiert werden oder wie funktioniert das?
Die Dateien müssen in das gleiche Verzeichnis wie die exe des Spiels kopiert werden. Steht in der readme.

Ronny145
2011-08-05, 18:28:53
GTA4 NoAA
http://www.abload.de/img/gtaivnoaa576n.png

Beta 8 Default
http://www.abload.de/img/gtaivbeta8k7qi.png

Beta 8 Custom Shader&Sharpen
http://www.abload.de/img/gtaivbeta8customshaderq7f1.png

I used the lowest value 0.01 for #define moyenne, still too much. How can I lower even more the sharpness amount?

Gast
2011-08-05, 18:36:26
GTA4 NoAA
http://www.abload.de/img/gtaivnoaa576n.png

Beta 8 Default
http://www.abload.de/img/gtaivbeta8k7qi.png

Beta 8 Custom Shader&Sharpen
http://www.abload.de/img/gtaivbeta8customshaderq7f1.png

I used the lowest value 0.01 for #define moyenne, still too much. How can I lower even more the sharpness amount?

#define Sharpen_val0

kittycat
2011-08-05, 18:46:09
why not map key for Screenshots to Print Screen btn ? can this be customized ?

this plugin will replace ENB Series


great job ;)

Gast
2011-08-05, 19:09:52
[some dude]
@kittycat: It is actually a nice idea to make the screenshots with the pint key and maybe relocate the toggle key as well. However I won't start writing configuration files as more code always means more causes for additional bugs.
Maybe I should map the screenshot key to the "PRINT SCREEN key" and the toggle key to the "PAUSE key". The "F1".."F12" keys are too aften used.
What do you guys think?

Crux
2011-08-05, 19:53:37
AFAIK Both VAC and PB shouldn't take any legal actions against it. Been playing BFBC2 for a while now and no problems have surfaced so far.

Wasn't really about legal actions, more about preventing players getting themselves banned and in the aftermath mad at the wrong ppl.

Guest
2011-08-05, 20:33:02
Sharpen will work if i turn on AA, multisample or its chained to the FXAA effect ?

This could be an Ultimate Post-Processing Plugin for Games (please, name it), but don't be stuck only in Fxaa. U have a such potential :)

Why not be a main dll that load multiples effects ? With a config file where i can turn on what i want (FXAA, Sharpen...) and mapping action keys.

I think this can beat ENB Series because they was linked so much with GTA IV. Only few support and modification to work with another games.


here's my WISH LIST

[ OVERALL ]
- Config file
- Key Mapping

[ FILTERS ]
- Sharpen (ok)
- Saturation/Desaturation
- Brightness/Contrast
- Color Tone (Color Filter)

[ EFFECTS ]
- FXAA (ok)
- Bloom


So is time to introduce yourself and give us an account to we give back some retribution to your incredible work until now :D

Thanks !!

Guest
2011-08-05, 20:39:48
Oh, forgot to include

- depth of field
- motion blur

in effect list but the consume so much FPS lol

Gast
2011-08-05, 20:57:27
Shazzam Editor (http://shazzam-tool.com/) has some cool simple shaders inside (color, brigthness) but i dont know if can be use.

DrFreaK666
2011-08-05, 21:00:09
Does it work with DX7-Games?

Gast
2011-08-05, 21:51:44
most of Shazzam Editor shaders use lerp and crash :(

Crux
2011-08-05, 22:02:50
GTA4 NoAA
http://www.abload.de/img/gtaivnoaa576n.png

Beta 8 Default
http://www.abload.de/img/gtaivbeta8k7qi.png

Beta 6,7,8 really look a bit worse in GTA4 (look at the yellow arrow).



Beta5
http://www.abload.de/img/gtaivbeta5upgz.png


EDIT: not sure anymore, my eyes might be playing tricks on me

Gast
2011-08-05, 22:03:08
I take it then that lerp is a no-go ?

[some_dude]
If you get some time, please have a look at my post on page 17 regarding the extra HDR commands, although lerp is used at the end, could be the problem.
I promise I won't bug you anymore about this ;-)
Thanks for any help.

This has some real potential, as some has already mentioned in their posts. 2-pass would be the icing on the cake, if possible.

This already makes a stock GTAIV mod look amazing, not quite ENB-like, but still with HDR, sharpening, and FXAA, it looks a whole new game.

And the "print-screen" key, I agree.

Ronny145
2011-08-05, 22:07:59
Beta 6,7,8 really look a bit worse in GTA4 (look at the yellow arrow).



EDIT: not sure anymore, my eyes might be playing tricks on me


As I said Beta8 Indoor is worse than some of the previous version. You have to change the shader file as I mentioned earlier.

Gast
2011-08-05, 22:24:26
an idea to keep your game folder more organized:

put shaders in a new folder (e.g 'myShaders')
move Fxaa3_11.h and Sharpen.h to this new folder
edit shader.fx

#include "myShaders\Fxaa3_11.h"
#include "myShaders\Sharpen.h"

;)

Blaire
2011-08-05, 22:39:30
[some dude]
In the next beta I will output the compilation errors to the logfile to simplify custom shader coding.


http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8870447&postcount=337

I have uploaded a Video, which shows the Problem. The Problem does not exist without the FXAA Mod.

Ronny145
2011-08-05, 22:59:09
http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8870447&postcount=337

I have uploaded a Video, which shows the Problem. The Problem does not exist without the FXAA Mod.


Same problem for me. Old save games are fine, but when I start a new game and move around the clouds are broken.

Gast
2011-08-05, 23:19:57
[some dude]
First of all, thanks Blaire for fiding the "Arcania" bug and linking to the demo. Took me some time to fix it (started the download after your first post). There is a slight chance that GTA4 is affected again (always those *overtuned* engines).
I also improved d3d10 stability a little (may fix game crashes). I hope to be able to inject FXAA into all games which do not show "pDevice->CreateDeferredContext failed" behaviour in the logfile.

Additionally for those games which require you to put shader files into different directories - now they don't crash but just refuse to start and write more information to the logfile (e.g. in Crysis I get "try to use "D:\Games\Crytek\Crysis SP Demo" for shader files" when I misplace the shader files).

For those of you who write own shaders, if you write incorrect shadercode the logfile should tell you exactly what is wrong.

Hotkeys are now PAUSE and PRINT SCREEN.

http://hotfile.com/dl/125975700/ef4f3b1/injectFxaa_by_some_dude_9.7z.html

Blaire
2011-08-05, 23:28:42
Yes everything ok, Gothic Arcania works again correctly. :smile: Thank you for your Effort!

Ronny145
2011-08-05, 23:29:31
There is a slight chance that GTA4 is affected again (always those *overtuned* engines).



No problem here with GTA4.

dargo
2011-08-06, 00:36:34
Shift 2 - links 2880x1620@1920x1080 noAA, rechts 2880x1620@1920x1080 injektFXAA.

http://s7.directupload.net/images/110806/temp/sqbnwz3y.jpg (http://s7.directupload.net/file/d/2608/sqbnwz3y_jpg.htm) http://s1.directupload.net/images/110806/temp/jzvcqeh2.jpg (http://s1.directupload.net/file/d/2608/jzvcqeh2_jpg.htm) http://s1.directupload.net/images/110806/temp/g8r7t3rq.jpg (http://s1.directupload.net/file/d/2608/g8r7t3rq_jpg.htm) http://s1.directupload.net/images/110806/temp/53vzplei.jpg (http://s1.directupload.net/file/d/2608/53vzplei_jpg.htm) http://s7.directupload.net/images/110806/temp/iymbyf8h.jpg (http://s7.directupload.net/file/d/2608/iymbyf8h_jpg.htm) http://s7.directupload.net/images/110806/temp/qgik5gda.jpg (http://s7.directupload.net/file/d/2608/qgik5gda_jpg.htm) http://s7.directupload.net/images/110806/temp/yblez5om.jpg (http://s7.directupload.net/file/d/2608/yblez5om_jpg.htm) http://s7.directupload.net/images/110806/temp/ic6qlqpj.jpg (http://s7.directupload.net/file/d/2608/ic6qlqpj_jpg.htm)
http://s7.directupload.net/images/110806/temp/6ewtsbo6.jpg (http://s7.directupload.net/file/d/2608/6ewtsbo6_jpg.htm) http://s1.directupload.net/images/110806/temp/exc76qae.jpg (http://s1.directupload.net/file/d/2608/exc76qae_jpg.htm) http://s1.directupload.net/images/110806/temp/639ju8t9.jpg (http://s1.directupload.net/file/d/2608/639ju8t9_jpg.htm) http://s1.directupload.net/images/110806/temp/qctsx3xc.jpg (http://s1.directupload.net/file/d/2608/qctsx3xc_jpg.htm) http://s1.directupload.net/images/110806/temp/guh8ffbi.jpg (http://s1.directupload.net/file/d/2608/guh8ffbi_jpg.htm) http://s1.directupload.net/images/110806/temp/vzgp8esj.jpg (http://s1.directupload.net/file/d/2608/vzgp8esj_jpg.htm)

dargo
2011-08-06, 00:39:09
Fortsetzung...

http://s1.directupload.net/images/110806/temp/kl53jcf7.jpg (http://s1.directupload.net/file/d/2608/kl53jcf7_jpg.htm) http://s7.directupload.net/images/110806/temp/to6mdckj.jpg (http://s7.directupload.net/file/d/2608/to6mdckj_jpg.htm) http://s7.directupload.net/images/110806/temp/kgygrd7z.jpg (http://s7.directupload.net/file/d/2608/kgygrd7z_jpg.htm) http://s7.directupload.net/images/110806/temp/nks6hxkc.jpg (http://s7.directupload.net/file/d/2608/nks6hxkc_jpg.htm) http://s7.directupload.net/images/110806/temp/f967kac2.jpg (http://s7.directupload.net/file/d/2608/f967kac2_jpg.htm) http://s1.directupload.net/images/110806/temp/52rvnr4d.jpg (http://s1.directupload.net/file/d/2608/52rvnr4d_jpg.htm)

Ich finds klasse. =)

racerX
2011-08-06, 00:45:56
DKT70 is here ? O_o

wow, cool !!! great shaders are coming :)

Gast
2011-08-06, 00:53:21
using ENB + this DLL i lost a lot FPS

hope for more features and i retire the older ENB forever

Ronny145
2011-08-06, 00:53:58
Played a bit with the sharpening filter and found different ways to lower the sharpness level. My current setting in comparison with Arcania.

NoAA
http://www.abload.de/img/arcanianoaavwjw.png

FXAA_Beta9
http://www.abload.de/img/arcaniabeta9z59b.png

FXAA_Beta9 Custom Shader&Sharpen
http://www.abload.de/img/arcaniabeta9customt0t8.png

MLAA
http://www.abload.de/img/arcaniamlaa32e7.png

Gast
2011-08-06, 01:09:37
ok, adjusting the amount and turn off my ENB Settings i get great colors

thx DKT70

please, share your Bleachbypass shader too

:)

Gast
2011-08-06, 01:11:26
Played a bit with the sharpening filter and found different ways to lower the sharpness level. My current setting in comparison with Arcania.

NoAA
http://www.abload.de/img/arcanianoaavwjw.png

FXAA_Beta9
http://www.abload.de/img/arcaniabeta9z59b.png

FXAA_Beta9 Custom Shader&Sharpen
http://www.abload.de/img/arcaniabeta9customt0t8.png

MLAA
http://www.abload.de/img/arcaniamlaa32e7.png


Could you post your settings Ronny?

Ronny145
2011-08-06, 01:26:22
Could you post your settings Ronny?

Shader
//c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
return c0;
}

float4 MyShader( float2 Tex : TEXCOORD0 ) : COLOR0
{
float4 c0 = FxaaPixelShader(
Tex, //pos
0, //fxaaConsolePosPos (?)
lumaSampler, //tex
lumaSampler, //fxaaConsole360TexExpBiasNegOne
lumaSampler, //fxaaConsole360TexExpBiasNegTwo
float2(BUFFER_RCP_WIDTH, BUFFER_RCP_HEIGHT), //fxaaQualityRcpFrame
float4(-0.5*BUFFER_RCP_WIDTH,-0.5*BUFFER_RCP_HEIGHT,0.5*BUFFER_RCP_WIDTH,0.5*BUFFER_RCP_HEIGHT), //fxaaConsoleRcpFrameOpt
float4(-2.0*BUFFER_RCP_WIDTH,-2.0*BUFFER_RCP_HEIGHT,2.0*BUFFER_RCP_WIDTH,2.0*BUFFER_RCP_HEIGHT), //fxaaConsoleRcpFrameOpt2
float4(8.0*BUFFER_RCP_WIDTH,8.0*BUFFER_RCP_HEIGHT,-4.0*BUFFER_RCP_WIDTH,-4.0*BUFFER_RCP_HEIGHT), //fxaaConsole360RcpFrameOpt2
0.60, //fxaaQualitySubpix (default: 0.75)
0.100, //fxaaQualityEdgeThreshold
0.0800, //fxaaQualityEdgeThresholdMin


Sharpen

// pour le calcul du flou
#define moyenne 0.4
#define dx (moyenne*px)
#define dy (moyenne*py)

#define CoefFlou 2
#define CoefOri (1+ CoefFlou)

// pour le sharpen
#define SharpenEdge 0.1
#define Sharpen_val0 1.2
#define Sharpen_val1 ((Sharpen_val0-1) / 8.0)


GTA4

NoAA
http://www.abload.de/img/gtaivnoaabdd1.png

Beta9
http://www.abload.de/img/gtaivbeta9kfm5.png

Beta9 Custom Shader&Sharpen
http://www.abload.de/img/gtaivbeta9custom3csd.png

MLAA
http://www.abload.de/img/gtaivmlaayd1f.png

You can see Default Beta9 is struggling with some edges in GTA4 Indoor.

Jerry Lynn
2011-08-06, 02:15:27
Not working with Railworks... sort of. It does work with Railworks' menus while levels are loading, but once the levels are loaded there's no FXAA applied at all and the toggle key no longer works. The only thing in the log.log file is:

redirecting CreateDevice

Jerry Lynn
2011-08-06, 02:18:44
Sorry, I meant Railworks 2.

Jerry Lynn
2011-08-06, 02:36:41
Also, changing the mappings was a bad idea. I use an Apple keyboard with Windows so I don't have a Pause key. I use a program called Sharpkeys to handle key mappings (for buttons like PrtScr) but it has no support for Pause.

Gast
2011-08-06, 03:56:33
Anyone tried the FXAA hook in World of Warcraft DX9 and 11?

Is it possible they detect it falsly as cheat?

Giznat
2011-08-06, 04:24:20
Anyone tried the FXAA hook in World of Warcraft DX9 and 11?

Is it possible they detect it falsly as cheat?

I tried version 8.7 with WoW the other day and it didn't seem to work. I was able to take screenshots via the Delete key, but I was unable to see any FXAA taking place in-game.

111
2011-08-06, 04:25:51
Some Dude,

I noticed the D3D10 version of your fantastic script uses dxgi.dll instead of d3d9.dll to hook to the game. Would it be possible for you to implement a directx 9 compatible version using dxgi.dll? Or could I somehow do it myself with a bit of tweaking?


The reason I am asking this is because FXAA serves the most relevance on my Nvidia Optimus laptop (Optimus switches between Intel & dedicated GPU depending on usage to save battery).

The D3D9.dll version causes Optimus to malfunction and as a result it forces the game to run on Intel Graphics (which seriously suck); but on the other hand, the version with DXGI.dll does not cause this to happen and I can game happily with FXAA enabled. But only on DX10 games.

Fantastic work so far man, thanks so much for the tool regardless!

racerX
2011-08-06, 04:36:08
hmm if i turn on AA will disable FXAA and i will lost all effects !!

Has another way to chained shaders to not depend the FXAA ??

:(

Gast
2011-08-06, 04:47:01
I tried version 8.7 with WoW the other day and it didn't seem to work. I was able to take screenshots via the Delete key, but I was unable to see any FXAA taking place in-game.

There is no something".7" the ".7" is a suffix/ file type of the compressed archive (of 7-zip).

The 7-zip file extension is used for native format of 7-ZIP archiver. 7-Zip is open source software. Most of the source code is under the GNU LGPL license.

7z is the new backup, archive - compressed file format, providing high compression ratio.

The main features of 7z format:
- Open architecture
- High compression ratio
- Strong AES-256 encryption
- Ability of using any compression, conversion or encryption method
- Support for very large files with sizes up to 16000000000 GB
- Unicode file name support
- Solid compression ratio
- Archive headers compression

Gast
2011-08-06, 10:58:06
[some dude]
@Jerry Lynn: Though I couldn't look myself, it sounds like Railworks 2 uses MSAA when it goes ingame and on DirectX 9 it just doesn't work.

@111: I cannot choose how to name dlls and which oues to use - the game does. So there is no way to use dxgi.dll with DirectX 9 as there is no meaning in using d3d9.dll with DirectX 10/11.

@racerX: In general, postprocessing shaders ans MSAA do not get along so it has actually nothing to do with FXAA. Forcing postprocessing shaders to work with MSAA enabled would just be incompatible with too many games.

@DKT70: For gamemodding it could make sense to make HUD masks for particular games, so they do not apply FXAA to it.

Ronny145
2011-08-06, 12:24:34
Age of Empires 3.

NoAA
http://www.abload.de/img/age3noaaxuzt.png

Beta9
http://www.abload.de/img/age3beta9zusu.png

Beta 9 Custom Shader&Sharpen
http://www.abload.de/img/age3beta9customgufp.png

MLAA
http://www.abload.de/img/age3mlaa3ue9.png

MLAA glättet einige Hausdächer nicht gut.

JaylumX
2011-08-06, 13:03:46
I hope Nvidia implements this into future driver updates to work on DX and OGL games as there is no excuse now since Gast has got it working excelently on a vast majority of games - with the latest version there have been no problems with all the games i have installed. The current ghetto raw way of installing the hack is a bit of a nuicance if you have lots of games and driver support, Nvinspector or an executable that ran in the background would be nice.

Excellent work Gast

dargo
2011-08-06, 13:46:52
Mal eine Frage an die Gurus hier - mir ist aufgefallen, dass dieses injecFXAA "scharfe" Kanten sehr gut erfasst, bei den "weichen" allerdings etwas schwächelt.

noAA
http://s7.directupload.net/images/110806/temp/oeo22mtq.jpg (http://s7.directupload.net/file/d/2608/oeo22mtq_jpg.htm)

injectFXAA
http://s1.directupload.net/images/110806/temp/ylrkkvj5.jpg (http://s1.directupload.net/file/d/2608/ylrkkvj5_jpg.htm)

Lässt sich das noch verbessern ohne, dass das Bild an Schärfe verliert? :)

PS: beta version 9.

Tom Yum 72
2011-08-06, 13:48:43
Fortsetzung...

http://s1.directupload.net/images/110806/temp/kl53jcf7.jpg (http://s1.directupload.net/file/d/2608/kl53jcf7_jpg.htm) http://s7.directupload.net/images/110806/temp/to6mdckj.jpg (http://s7.directupload.net/file/d/2608/to6mdckj_jpg.htm) http://s7.directupload.net/images/110806/temp/kgygrd7z.jpg (http://s7.directupload.net/file/d/2608/kgygrd7z_jpg.htm) http://s7.directupload.net/images/110806/temp/nks6hxkc.jpg (http://s7.directupload.net/file/d/2608/nks6hxkc_jpg.htm) http://s7.directupload.net/images/110806/temp/f967kac2.jpg (http://s7.directupload.net/file/d/2608/f967kac2_jpg.htm) http://s1.directupload.net/images/110806/temp/52rvnr4d.jpg (http://s1.directupload.net/file/d/2608/52rvnr4d_jpg.htm)

Ich finds klasse. =)

Ist das die beta 9 die du da benutzt hast,in Dx9? Hast du noch irgendwas verändert? Sieht bombastisch aus.

Edit: Eben war dein vorheriger Post noch nicht da :)

boxleitnerb
2011-08-06, 13:55:52
Sieht toll aus! Für Spiele, in denen SGSSAA blurrt oder wo gar kein AA geht, sehr gut. Mit moderatem Downsampling dann sicher perfekt.

Wie ist es in Bewegung (also nur FXAA)? Beruhigt es das Bild gut?

Ronny145
2011-08-06, 13:59:18
Mal eine Frage an die Gurus hier - mir ist aufgefallen, dass dieses injecFXAA "scharfe" Kanten sehr gut erfasst, bei den "weichen" allerdings etwas schwächelt.



Dieses Kantenproblem am Auto gibt oder gab es auch in Dirt 2. Das liegt an einer ungünstigen Einstellung. Es gibt 2 Möglichkeiten womit ich das Problem lösen konnte. Die einfachste wäre diese:

0.100, //fxaaQualityEdgeThreshold

Den Parameter auf den Wert abändern. Vielleicht hilft es. Oder Du versuchst es mit meinen aktuellen Einstellungen. Ich lade es mal hoch. Falls es zu scharf bzw. nicht glatt genug ist, Sharpen_val0 auf 1.1 oder 1.15 verringern. Wobei es das Kantenproblem am Auto mit der Beta9 in Dirt 2 nicht gibt, dafür in GTA4. Musst Du einfach ausprobieren.

anigr9001
2011-08-06, 14:05:31
Anyone managed to make use of FXAA with Starcraft 2?? It always crash to me...

dargo
2011-08-06, 14:08:27
Sieht toll aus! Für Spiele, in denen SGSSAA blurrt oder wo gar kein AA geht, sehr gut. Mit moderatem Downsampling dann sicher perfekt.

Wie ist es in Bewegung (also nur FXAA)? Beruhigt es das Bild gut?
Ich finde es in Bewegung großartig. Im Cockpit selbst flimmert nichts mehr. Wer Shift 2 kennt wird sicherlich dieses Flimmern vom Armaturenbrett kennen. In weiter Ferne flimmerts je nach Strecke und Tageszeit etwas. Aber das ist imho schon vernachlässigbar (man könnte es auch "auf sehr hohen Niveau meckern" nennen :D). Selbst 3840x2160@1920x1080 flimmert mehr als 2880x1620 inkl. injectFXAA. Ersteres ist dazu noch wesentlich teurer und schlechter bei Objektkanten aus der Nähe... zb. beim Fahrzeug. Ich empfinde dieses injectFXAA wie ein kleines Wunder der Computergrafik. :eek: Zumal es bei Shift 2 in 2880x1620 nur max. 15% kostet. Wobei das unter Vorbehalt. Ich weiß nicht wie stark die Szenen wo ich den Framecounter gecheckt habe im CPU-Limit noch lagen. Bzw. ob sie vollständig gpu-limitiert waren.

Ist das die beta 9 die du da benutzt hast,in Dx9? Hast du noch irgendwas verändert? Sieht bombastisch aus.

Das war beta 3. Beta 9 ist noch besser was Bildschärfe angeht.

boxleitnerb
2011-08-06, 14:13:49
Dann kann ich mir ja vielleicht doch nächstes Jahr einen neuen Monitor kaufen :biggrin:

Jetzt bräuchte man nur noch eine Möglichkeit, es einfach für verschiedene Spieleprofile an- und abzuschalten und die Settings zu ändern. Das Gefummel mit den Dateien ist noch etwas unglücklich.

dargo
2011-08-06, 14:17:21
Dieses Kantenproblem am Auto gibt oder gab es auch in Dirt 2. Das liegt an einer ungünstigen Einstellung. Es gibt 2 Möglichkeiten womit ich das Problem lösen konnte. Die einfachste wäre diese:

0.100, //fxaaQualityEdgeThreshold

Den Parameter auf den Wert abändern. Vielleicht hilft es. Oder Du versuchst es mit meinen aktuellen Einstellungen. Ich lade es mal hoch. Falls es zu scharf bzw. nicht glatt genug ist, Sharpen_val0 auf 1.1 oder 1.15 verringern. Wobei es das Kantenproblem am Auto mit der Beta9 in Dirt 2 nicht gibt, dafür in GTA4. Musst Du einfach ausprobieren.
Hmm... das hört sich so an als ob man nahezu bei jedem einzelnen Spiel Hand anlegen müsste für das beste Ergebnis. ;( Schade eigentlich. Ich hatte gehofft es würde auch eine allgemeine Lösung für alle Spiele geben. Ich probiere mal deine Settings. Dumm ist halt nur, dass ich mir meine Stellen wo die Screenshots gemacht wurden nicht für Vergleiche abspeichern kann. :(

dargo
2011-08-06, 14:19:14
Dann kann ich mir ja vielleicht doch nächstes Jahr einen neuen Monitor kaufen :biggrin:

:biggrin:


Jetzt bräuchte man nur noch eine Möglichkeit, es einfach für verschiedene Spieleprofile an- und abzuschalten und die Settings zu ändern. Das Gefummel mit den Dateien ist noch etwas unglücklich.
Das kommt sicherlich. Wir sind hier erstmal am Anfang bei diesem Thema. Ich denke mal in den nächsten Wochen wird da einer was basteln. Ich habe von Programmierung eh keine Ahnung, auf mich kannst du also nicht zählen. ;)

BeetleatWar1977
2011-08-06, 14:19:14
Hmm... das hört sich so an als ob man nahezu bei jedem einzelnen Spiel Hand anlegen müsste für das beste Ergebnis. ;( Schade eigentlich. Ich hatte gehofft es würde auch eine allgemeine Lösung für alle Spiele geben. Ich probiere mal deine Settings. Dumm ist halt nur, dass ich mir meine Stellen wo die Screenshots gemacht wurden nicht für Vergleiche abspeichern kann. :(
Die fx-Files werden bei Änderung neu geladen, einfach auf Pause gehen ;)


Cheers for the bloom shader, beetleatwar.

Here are a couple of early GTAIV shots using the effects I posted a page back.
This is stock GTAIV using my RealityIV mod, with a few times 9am - 6pm adjusted for the new effects.

http://i52.tinypic.com/2la8phe.jpg
http://i51.tinypic.com/1ziuz6.jpg
http://i56.tinypic.com/10gl43n.jpg

Should i integrade the shader to yours?

dargo
2011-08-06, 14:23:25
Die fx-Files werden bei Änderung neu geladen, einfach auf Pause gehen ;)

Achso... du meinst also auf den Desktop switschen, die Files ersetzen und ich sehe direkt im Spiel die Auswirkung und somit kann ich die gleiche Stelle screenshoten? Geil... das ist ja praktisch. :D

boxleitnerb
2011-08-06, 14:26:08
Also bei GTA 4 bin ich jetzt nicht so überzeugt. Das Auto wird recht gut geglättet, aber z.B. Laternenpfähle in mittlerer und weiter Entfernung flimmern schön vor sich hin (FXAA beta 9).

Gast
2011-08-06, 14:30:11
>>Should i integrade the shader to yours?

Is that possible ?
If you could, that would be great. Perhaps put up a download for anyone wanting it, as well.

dargo
2011-08-06, 14:32:14
Also bei GTA 4 bin ich jetzt nicht so überzeugt. Das Auto wird recht gut geglättet, aber z.B. Laternenpfähle in mittlerer und weiter Entfernung flimmern schön vor sich hin (FXAA beta 9).
Bitte gebt immer die Angaben zur Auflösung an. Bei nativer Auflösung kann natürlich FXAA kein flimmerfreies Bild liefern. Das wäre ein absolutes Wunder. 2,25x OGSSAA finde ich aber verdammt gut. 4x OGSSAA samt FXAA wäre der Wahnsinn. Ich glaube mehr braucht man da gar nicht mehr. Dafür wäre aber in vielen Games schon eine GTX680 nötig. :D

Ronny145
2011-08-06, 14:33:06
Hmm... das hört sich so an als ob man nahezu bei jedem einzelnen Spiel Hand anlegen müsste für das beste Ergebnis. ;( Schade eigentlich. Ich hatte gehofft es würde auch eine allgemeine Lösung für alle Spiele geben. Ich probiere mal deine Settings. Dumm ist halt nur, dass ich mir meine Stellen wo die Screenshots gemacht wurden nicht für Vergleiche abspeichern kann. :(


Das verstehst Du falsch. Mit der abgeänderten Shader Datei bekomme ich die beste Glättung in Dirt 2 und GTA4 Indoor. Das ist so schon optimal. Den Edge Wert habe ich noch etwas verringert auf 0,080 in meinen Custom Files. Minimal besser am Heckspoiler zu vorher.

NoAA
http://www.abload.de/img/dirt2_gamenoaauu2s.png

Beta9
http://www.abload.de/img/dirt2_gamebeta9hj7v.png

Beta9 Custom
http://www.abload.de/img/dirt2_gamecustom2ukvo.png

boxleitnerb
2011-08-06, 14:33:59
Bitte gebt immer die Angaben zur Auflösung an. Bei nativer Auflösung kann natürlich FXAA kein flimmerfreies Bild liefern. Das wäre ein absolutes Wunder. 2,25x OGSSAA finde ich aber verdammt gut. 4x OGSSAA samt FXAA wäre der Wahnsinn. Ich glaube mehr braucht man da gar nicht mehr. Dafür wäre aber in vielen Games schon eine GTX680 nötig. :D

Achso, sorry.
1280x1024, 18.1"
Mit 2560x2048@1280x1024 und FXAA sieht es aber sehr gut aus, wobei auch da hin und wieder noch was flimmert (Moire lässt grüßen).

dargo
2011-08-06, 14:38:03
Das verstehst Du falsch. Mit der abgeänderten Shader Datei bekomme ich die beste Glättung in Dirt 2 und GTA4 Indoor. Das ist so schon optimal. Den Edge Wert habe ich noch etwas verringert auf 0,080 in meinen Custom Files. Minimal besser am Heckspoiler zu vorher.

NoAA
http://www.abload.de/img/dirt2_gamenoaauu2s.png

Beta9
http://www.abload.de/img/dirt2_gamebeta9hj7v.png

Beta9 Custom
http://www.abload.de/img/dirt2_gamecustom2ukvo.png
Bei der Beta9 Custom gefällt mir ausgesprochen gut, dass die Texturschärfe weniger leidet. :up: Ich glaube das + 2,25x OGSSAA wird schon verdammt geil rüberkommen. =)

[dzp]Viper
2011-08-06, 14:39:42
Wie bekommt man das zum laufen? Hab nun alle Seiten durchgeblättert, bin aber nicht wirklich schlauer geworden. Eine Anleitung wäre da nicht schlecht ;)

dargo
2011-08-06, 14:39:53
Achso, sorry.
1280x1024, 18.1"
Mit 2560x2048@1280x1024 und FXAA sieht es aber sehr gut aus, wobei auch da hin und wieder noch was flimmert (Moire lässt grüßen).
Ich glaube bei dir ist das Problem, dass du eine allgemein niedrige native Auflösung fährst. Mit 3840x2160 @1920x1080 auf einem 23 Zöller sollte das wesentlich besser aussehen.

Viper;8872017']Wie bekommt man das zum laufen? Hab nun alle Seiten durchgeblättert, bin aber nicht wirklich schlauer geworden. Eine Anleitung wäre da nicht schlecht ;)
Den Inhalt der beta 9 ins Installationsverzeichnis der Spiele kopieren, da wo die Exe liegt.

[dzp]Viper
2011-08-06, 14:44:08
Ja nur finde ich den Link für die Beta 9 nicht.. das ist das Problem ;)

Ronny145
2011-08-06, 14:46:05
Viper;8872023']Ja nur finde ich den Link für die Beta 9 nicht.. das ist das Problem ;)

http://hotfile.com/dl/125975700/ef4f3b1/injectFxaa_by_some_dude_9.7z.html

dargo
2011-08-06, 14:46:41
Viper;8872023']Ja nur finde ich den Link für die Beta 9 nicht.. das ist das Problem ;)
Ähm... du hast zu schnell geblättert. ;)
http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871093&postcount=361

Edit:
Zu langsam. :D

boxleitnerb
2011-08-06, 14:49:51
Sollte das nicht egal sein mit der Auflösung, wenn ich auch einen entsprechend kleineren Monitor habe? 3840x2160 kann ich mir mit den neueren Treibern ja erstmal schenken.

[dzp]Viper
2011-08-06, 14:51:31
Sehr schön

Funktioniert mit RIFT sehr gut. Performance geht bei mir um 1-2fps runter. Also nicht der Rede wert.

Leider wird die Schrift im Chat auch ein wenig geglättet... aber es ist noch okay.

Ich liefere keine Screenshots weil man das auf Screenshots leider nicht sieht?!

dildo4u
2011-08-06, 14:56:25
Viper;8872038']Sehr schön

Funktioniert mit RIFT sehr gut. Performance geht bei mir um 1-2fps runter. Also nicht der Rede wert.

Leider wird die Schrift im Chat auch ein wenig geglättet... aber es ist noch okay.

Ich liefere keine Screenshots weil man das auf Screenshots leider nicht sieht?!
Die Druck Taste müsste ein Screen mit der Glättung machen.


Keys:
PAUSE : Enable/Disable FXAA
PRINT SCREEN : Screenshot

Ronny145
2011-08-06, 15:01:37
Viper;8872038']

Ich liefere keine Screenshots weil man das auf Screenshots leider nicht sieht?!

Fraps genügt, wird erfasst. Wegen der Schrift vielleicht etwas nachschärfen mit dem Schärfefilter.


Anyone managed to make use of FXAA with Starcraft 2?? It always crash to me...

It works for me. Just tried with the demo. I put the files into the folders versions/Base15405 and Support.

[dzp]Viper
2011-08-06, 15:01:51
Die Druck Taste müsste ein Screen mit der Glättung machen.
Keys:
PAUSE : Enable/Disable FXAA
PRINT SCREEN : Screenshot
Ich weiß. Aber leider auf den Screenshots aus RIFT dann nicht zu sehen. Ingame schon. Könnte aber auch daran liegen, dass RIFT die selbe Taste nutzt zum Screenshot machen?!

/edit: Gefunden... liegen im Hauptverzeichnis

No-AA
http://www.abload.de/img/no-aap7hf.jpg

FXAA
http://www.abload.de/img/fxaac7us.jpg

Tom Yum 72
2011-08-06, 15:04:13
Bei crysis 2 (beispiel dx9) soll man ja die dll ins bin32 und die anderen beiden Dateien ins Hauptverzeichnis kopieren.
Heisst das dann,das es immer aktiviert ist? Weil die Pause-taste macht rein gar nichts.

dargo
2011-08-06, 15:04:50
Sollte das nicht egal sein mit der Auflösung, wenn ich auch einen entsprechend kleineren Monitor habe? 3840x2160 kann ich mir mit den neueren Treibern ja erstmal schenken.
Jein. Der 23 Zöller müsste eine bessere Pixeldichte haben als dein 18 Zöller. Bin mir hierbei allerdings nicht sicher, habs nicht überprüft. Außerdem wirkt bei gleicher Pixeldichte pro Fläche das Bild schärfer mit höherer Auflösung.

Ronny145
2011-08-06, 15:08:59
Bei crysis 2 (beispiel dx9) soll man ja die dll ins bin32 und die anderen beiden Dateien ins Hauptverzeichnis kopieren.
Heisst das dann,das es immer aktiviert ist? Weil die Pause-taste macht rein gar nichts.

Funktioniert problemlos bei mir im DX9 Modus mit der Pause Taste.

[dzp]Viper
2011-08-06, 15:15:14
Fraps genügt, wird erfasst. Wegen der Schrift vielleicht etwas nachschärfen mit dem Schärfefilter.
Welcher Eintrag wäre das dann in der "sharpen.h"?

Tom Yum 72
2011-08-06, 15:15:50
Funktioniert problemlos bei mir im DX9 Modus mit der Pause Taste.

Dateien hab ich also richtig kopiert? Drück ich die pause taste seh ich überhaupt KEINEN Unterschied. Gibt es sonst noch irgend etwas zu beachten?
r_postmsaa ist auf 0

Ronny145
2011-08-06, 15:18:44
Viper;8872077']Welcher Eintrag wäre das dann in der "sharpen.h"?

Es sind 1-3 Werte (je nachdem). Siehe hier: http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871375&postcount=375

Oder nimmst die fertig editierten von hier (http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871956&postcount=404).

Die optimale Schärfeeinstellung hängt auch von der Glättung im Shader File ab.

Dateien hab ich also richtig kopiert? Drück ich die pause taste seh ich überhaupt KEINEN Unterschied. Gibt es sonst noch irgend etwas zu beachten?
r_postmsaa ist auf 0


In welchem DX-Modus startest du Crysis?

OC_Burner
2011-08-06, 15:21:46
Viper;8872077']Welcher Eintrag wäre das dann in der "sharpen.h"?

Um den Schärfefilter erstmal zu aktivieren musst du vorher noch die Datei "shader.fx" bearbeiten.

Suche die Zeile //Replace this line with #include "Sharpen.h" to add a sharpening pass und ändere sie zu #include "Sharpen.h"

Tom Yum 72
2011-08-06, 15:24:03
Es sind 1-3 Werte (je nachdem). Siehe hier: http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871375&postcount=375

Oder nimmst die fertig editierten von hier (http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871956&postcount=404).

Die optimale Schärfeeinstellung hängt auch von der Glättung im Shader File ab.




In welchem DX-Modus startest du Crysis?

In Dx9, dazu die dx9 dateien aus der beta 9. Dll in bin 32 ,die anderen beiden ins c2 hauptverzeichnis.

Ronny145
2011-08-06, 15:26:01
In Dx9, dazu die dx9 dateien aus der beta 9. Dll in bin 32 ,die anderen beiden ins c2 hauptverzeichnis.

Mit -dx9 in der Verknüpfung? Bestätigt Fraps DX9?

[dzp]Viper
2011-08-06, 15:26:53
Um den Schärfefilter erstmal zu aktivieren musst du vorher noch die Datei "shader.fx" bearbeiten.

Suche die Zeile //Replace this line with #include "Sharpen.h" to add a sharpening pass und ändere sie zu #include "Sharpen.h"

Danke etwas besser ist es geworden. Ist zwar immernoch etwas unscharf an den Rändern aber akzeptabel ;)

Tom Yum 72
2011-08-06, 15:30:48
Mit -dx9 in der Verknüpfung? Bestätigt Fraps DX9?
Nein,nicht mit Verknüpfung,hab dx11 im Menü deaktiviert. Ist sonst alles auf ultra ,hab aber eben kein pom und tessel mehr,eben wegen dx9. Mit fraps hab ich das noch nicht überprüft.
Was ist denn dieses beispiel dingens im dx9 ordner von der Beta?Zum selber anpassen,richtig?

Ronny145
2011-08-06, 15:34:02
Nein,nicht mit Verknüpfung,hab dx11 im Menü deaktiviert. Ist sonst alles auf ultra ,hab aber eben kein pom und tessel mehr,eben wegen dx9. Mit fraps hab ich das noch nicht überprüft.
Was ist denn dieses beispiel dingens im dx9 ordner von der Beta?Zum selber anpassen,richtig?


Dann wird es im DX10 Modus laufen. Ultra geht auch gar nicht im DX9 Modus. Alternativ die dx10 files verwenden. Ich weiß nicht welches Beispiel du meinst.

The Guest
2011-08-06, 15:45:16
i really need a way to load another d3d9.dll from it

in ENB we have this lines that help a lot:

[PROXY]
EnableProxyLibrary=1
InitProxyFunctions=1
ProxyLibrary=d3d9-custom.dll


so a config.ini will be great/large step ;)

dargo
2011-08-06, 17:30:09
@Ronny145

Ich habe jetzt mal deine custom-Files probiert. Habe eine 2880x1620 Auflösung genommen und einen 1920x1080 Ausschnitt gemacht. Ich denke so lässt sich die Qualität besser beurteilen.

noAA
http://s7.directupload.net/images/110806/temp/w9fuu3dy.jpg (http://s7.directupload.net/file/d/2608/w9fuu3dy_jpg.htm)

injectFXAA_Ronny
http://s7.directupload.net/images/110806/temp/liceqtn2.jpg (http://s7.directupload.net/file/d/2608/liceqtn2_jpg.htm)

injectFXAA_dude
http://s7.directupload.net/images/110806/temp/o7e2nnjj.jpg (http://s7.directupload.net/file/d/2608/o7e2nnjj_jpg.htm)

Man sieht, dass deine Version einen Tick schärfer ist. Kann man gut am Porsche erkennen. Dafür glättet die Version von dude etwas besser. Vorallem gut zu sehen unter dem Männchen mit der Fahne. Jetzt hat man die Qual der Wahl. :D

DrFreaK666
2011-08-06, 18:26:56
I want SSAO :-)

Ronny145
2011-08-06, 18:55:41
Man sieht, dass deine Version einen Tick schärfer ist. Kann man gut am Porsche erkennen. Dafür glättet die Version von dude etwas besser. Vorallem gut zu sehen unter dem Männchen mit der Fahne. Jetzt hat man die Qual der Wahl. :D


Ist das mit Egde Wert 0,080 oder 0,100? Die beste Glättung wird normalerweise immer ohne Schärfefilter erreicht werden.

dargo
2011-08-06, 19:03:29
Ist das mit Egde Wert 0,080 oder 0,100? Die beste Glättung wird normalerweise immer ohne Schärfefilter erreicht werden.
Standard von hier:
http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871956&postcount=404

Ronny145
2011-08-06, 19:08:43
Standard von hier:
http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8871956&postcount=404


Hatte ich zwischendurch geändert, daher die Frage.

Crux
2011-08-06, 19:29:02
Thank you for contacting us. We recommend not using an "inject hook" to use FXAA, as it may result in your account becoming suspended, or even banned. Use of this has not been whitelisted, and we strongly recommend that you refrain from altering the game files in this way.

:rolleyes: ;(

If anyone happens to have some contacts over at blizzard or knows how to contact someone in charge maybe forward this and ask them to whitelist or at least check it as it clearly is no cheat. While I will try to do so I'm not sure I can get through to anyone who knows about that stuff/ could do such a thing.

Gast
2011-08-06, 20:10:50
some dude, some news ? :D :D

Tom Yum 72
2011-08-06, 20:18:37
Dann wird es im DX10 Modus laufen. Ultra geht auch gar nicht im DX9 Modus. Alternativ die dx10 files verwenden. Ich weiß nicht welches Beispiel du meinst.

Nein,ist dx9,ultra ist trotzdem im menü zur Auswahl. Bei Crysis 1 hab ich das hinbekommen,pause an und aus.
Bei Crysis 2 gehts nach wie vor nicht. Hab jetzt extra noch -dx9 als verknüpfung gemacht,geht trotzdem nicht.
fehlt mir da noch ein command in der cfg oder darf ein bestimmter command nicht sein? Habe wie gesagt r_postmsaa o.

Erstmal danke Ronny, für deine Hilfe :)

BeetleatWar1977
2011-08-06, 20:44:08
Mein letzter Stand mit beta9 +DKT + Mein Bloom

dargo
2011-08-06, 20:49:46
Mein letzter Stand mit beta9 +DKT + Mein Bloom
Vergleichsbilder?

BeetleatWar1977
2011-08-06, 21:03:07
Vergleichsbilder?

Später - will heute auch mal daddeln

am Anfang der Post.h findest du die Settings.

Dicker Igel
2011-08-07, 00:06:04
Ich blick hier langsam nicht mehr durch. Danke :smile:

Same here - ein ordentlicher Startpost wäre auch angebracht :)

dargo
2011-08-07, 00:58:50
Mafia II, und das schon in der nativen Auflösung. :up:

noAA
http://s7.directupload.net/images/110807/temp/oeceqlf4.jpg (http://s7.directupload.net/file/d/2609/oeceqlf4_jpg.htm)

InjectFXAA beta 9
http://s1.directupload.net/images/110807/temp/u3xgxgx8.jpg (http://s1.directupload.net/file/d/2609/u3xgxgx8_jpg.htm)

mapel110
2011-08-07, 02:43:10
Wie bekommt man das bei Mafia2 ans Laufen? Bei mir tut sich nichts.

Mr. Lolman
2011-08-07, 08:37:51
I want SSAO :-)

SSAO would be really great. Is it possible to implement this method?

http://www.comp.nus.edu.sg/~duong/

even better would be Realtime Radiosity:
http://www.youtube.com/watch?v=M0ylvjrbwEc

http://realtimeradiosity.com/

dargo
2011-08-07, 09:10:25
Wie bekommt man das bei Mafia2 ans Laufen? Bei mir tut sich nichts.
Den Inhalt der Beta 9 nach "X:\Mafia II\pc\" kopieren.

Edit:
Apropo Mafia II. Kann mir jemand sagen warum die Stellen mit den roten Pfeilen praktisch nicht geglättet werden, die gelbe aber doch?

noAA
http://s7.directupload.net/images/110807/temp/76sb7wxq.jpg (http://s7.directupload.net/file/d/2609/76sb7wxq_jpg.htm)

injectFXAA beta 9
http://s7.directupload.net/images/110807/temp/ll6f4rzr.jpg (http://s7.directupload.net/file/d/2609/ll6f4rzr_jpg.htm)

Ich hatte zuerst gedacht es würde daran liegen, dass ab einer gewissen Entfernung der Postprocessing-Brei bei Mafia II anfängt und deshalb FXAA dort schwächelt (weiche Kanten). Dann dürfte aber die Stelle mit dem gelben Pfeil nicht so gut geglättet werden können.

DrFreaK666
2011-08-07, 10:43:43
SSAO would be really great. Is it possible to implement this method?

http://www.comp.nus.edu.sg/~duong/

even better would be Realtime Radiosity:
http://www.youtube.com/watch?v=M0ylvjrbwEc

http://realtimeradiosity.com/

I think it isn´t possible.
This tool is not as powerful as enb series

Ronny145
2011-08-07, 11:01:00
Ich hatte zuerst gedacht es würde daran liegen, dass ab einer gewissen Entfernung der Postprocessing-Brei bei Mafia II anfängt und deshalb FXAA dort schwächelt (weiche Kanten). Dann dürfte aber die Stelle mit dem gelben Pfeil nicht so gut geglättet werden können.

Solche Stellen gibt es auch in GTA4. Vielleicht sind die zu transparent. Vor allem bei so dünnen Kabeln oder Leitungen ist mir das aufgefallen.

Gast
2011-08-07, 11:10:48
bissel DS dazutun ist in BF2 und Borderlands bei gewissen Blickwinkeln genauso.

Gast
2011-08-07, 12:47:05
[some dude]
@DrFreaK666: SSAO or DoF requires more information about the scene (depth) than it is provided in the general case. Also there will be no support for DirectX 7/8 because sufficient shader technology is provided since DirectX 9.0c.

I looked around the net and the current "bugs" (e.g. in Starcraft 2, Crysis 2 or Stalker SoC) are due to people not knowing where to put the files, forgetting to disable MSAA or using other tools which force different game setting.
The only real cause why no FXAA is supported is when the logfile contains the line "pDevice->CreateDeferredContext failed". Then, unfortunately, it just won't work.

DrFreaK666
2011-08-07, 13:00:28
[some dude]
@DrFreaK666: SSAO or DoF requires more information about the scene (depth) than it is provided in the general case. Also there will be no support for DirectX 7/8 because sufficient shader technology is provided since DirectX 9.0c.
....

I wanted to try FXAA in Diablo 2. That´s why I asked for a DX7-version

dargo
2011-08-07, 13:06:52
bissel DS dazutun ist in BF2 und Borderlands bei gewissen Blickwinkeln genauso.
Das mache ich sowieso. 2880x1620 @1920x1080 geht fast immer mit der GTX480. Ich wollte das nur mal zur besseren Veranschaulichung in der nativen Auflösung zeigen. :)


Oder auch in WOT - das könnte aber Einstellungssache beim FXAA sein - vielleicht noch etwas mit den werten rumspielen.

Du meinst also das könnte man u.U. noch verbessern ohne zusätzlichen Blur im Gesamtbild? Das wäre echt genial. =)

BeetleatWar1977
2011-08-07, 13:15:42
Das mache ich sowieso. 2880x1620 @1920x1080 geht fast immer mit der GTX480. Ich wollte das nur mal zur besseren Veranschaulichung in der nativen Auflösung zeigen. :)


Du meinst also das könnte man u.U. noch verbessern ohne zusätzlichen Blur im Gesamtbild? Das wäre echt genial. =)
Ich hab auch schon überlegt den Sharpenfilter mal nach dem FXAA drüberlaufen zu lassen. Wenn ich vom Gassigehen zurückbin mal gucken.

dargo
2011-08-07, 13:17:21
Ich hab auch schon überlegt den Sharpenfilter mal nach dem FXAA drüberlaufen zu lassen. Wenn ich vom Gassigehen zurückbin mal gucken.
Vielen Dank schon mal für deine Mühe. Probiere ruhig alles aus. :D Ich habe leider keinen blassen Schimmer von den einzelnen Einträgen, sonst würde ich auch schon einiges basteln. Ich sehe in diesem FXAA sehr viel Potenzial. Mir gefällt vorallem auch die Tatsache, dass man da selber Hand anlegen kann und man sich nicht auf den "Geschmack" vom IHV verlassen muss.

Maorga
2011-08-07, 13:20:33
Den Inhalt der Beta 9 nach "X:\Mafia II\pc\" kopieren.

Edit:
Apropo Mafia II. Kann mir jemand sagen warum die Stellen mit den roten Pfeilen praktisch nicht geglättet werden, die gelbe aber doch?

noAA
http://s7.directupload.net/images/110807/temp/76sb7wxq.jpg (http://s7.directupload.net/file/d/2609/76sb7wxq_jpg.htm)

injectFXAA beta 9
http://s7.directupload.net/images/110807/temp/ll6f4rzr.jpg (http://s7.directupload.net/file/d/2609/ll6f4rzr_jpg.htm)

Ich hatte zuerst gedacht es würde daran liegen, dass ab einer gewissen Entfernung der Postprocessing-Brei bei Mafia II anfängt und deshalb FXAA dort schwächelt (weiche Kanten). Dann dürfte aber die Stelle mit dem gelben Pfeil nicht so gut geglättet werden können.

Der Algorythmus erkennt dort eben keine Kante ist zu schmal.

dargo
2011-08-07, 13:26:32
Der Algorythmus erkennt dort eben keine Kante ist zu schmal.
Das verstehe ich nicht ganz. Schau dir mal genauer die Details am Gebäude links neben dem gelben Pfeil an. Dort sind noch schmalere Kanten vorhanden und die werden erfasst.

OC_Burner
2011-08-07, 14:00:55
In Kombination mit ENB-Series funktioniert FXAA auch bei DirectX8 Spielen.

Downloaded GTA Vice City v0.075c3.zip (http://enbdev.com/download_en.htm) und kopiert die diese Dateien in euer DirectX8 EXE-Verzeichniss.:

d3d8.dll
enbconvertor.ini



In combination with ENB-Series, FXAA works on directx8 apps.

Download GTA Vice City v0.075c3.zip (http://enbdev.com/download_en.htm) and copy these files to you directx8 exe folder.:

d3d8.dll
enbconvertor.ini

Gast
2011-08-07, 14:46:51
Bekommt ihr Stalker COP DX11 zum laufen?

Tom Yum 72
2011-08-07, 15:40:19
Ich hab auch schon überlegt den Sharpenfilter mal nach dem FXAA drüberlaufen zu lassen. Wenn ich vom Gassigehen zurückbin mal gucken.
Das hört sich spannend an ,von mir auch Danke für deine Mühe.

OC_Burner
2011-08-07, 15:53:54
Bekommt ihr Stalker COP DX11 zum laufen?

Kopiere dxgi.dll nach --> stalker call of pripyat\bin

und shader.hlsl + Fxaa3_11.h nach --> stalker call of pripyat

Tom Yum 72
2011-08-07, 16:01:34
Kopiere dxgi.dll nach --> stalker call of pripyat\bin

und shader.hlsl + Fxaa3_11.h nach --> stalker call of pripyat

Bei Crysis 1 klappt das tadellos mit dx9 so wie du beschrieben hast.(mit den dx9 dateien natürlich)
Mach ich das jedoch mit den dx10 dateien stürtzt es schon nach dem starten ab. Was kann das denn sein?
und nein,dx9 hab ich nicht mit dx10 gemischt,stand ja in der readme.

OC_Burner
2011-08-07, 16:11:38
Keine Ahnung. Bei mir funktioniert Crysis 32-Bit DX10 wunderbar mit FXAA. Vielleicht doch noch irgendwo eine Dateileiche?

BeetleatWar1977
2011-08-07, 16:45:37
Vielen Dank schon mal für deine Mühe. Probiere ruhig alles aus. :D Ich habe leider keinen blassen Schimmer von den einzelnen Einträgen, sonst würde ich auch schon einiges basteln. Ich sehe in diesem FXAA sehr viel Potenzial. Mir gefällt vorallem auch die Tatsache, dass man da selber Hand anlegen kann und man sich nicht auf den "Geschmack" vom IHV verlassen muss.
Das hört sich spannend an ,von mir auch Danke für deine Mühe.
hier mal die Version mit einem 2ten durchlauf zum Schärfen. Ist nur ein einfacher Shader ( Funktion wie bei z.B. Gimp), hab die Einstellungen wieder an den Anfang der Datei (Post.h) gelegt.

Parameter sind noch nicht justiert, müsst ihr selber mal gucken.

Ronny145
2011-08-07, 16:49:02
[some dude]
@DrFreaK666: SSAO or DoF requires more information about the scene (depth) than it is provided in the general case. Also there will be no support for DirectX 7/8 because sufficient shader technology is provided since DirectX 9.0c.

I looked around the net and the current "bugs" (e.g. in Starcraft 2, Crysis 2 or Stalker SoC) are due to people not knowing where to put the files, forgetting to disable MSAA or using other tools which force different game setting.
The only real cause why no FXAA is supported is when the logfile contains the line "pDevice->CreateDeferredContext failed". Then, unfortunately, it just won't work.

There might be an issue in Metro 2033 with FXAA in DX9 mode, I'm quite sure. Almost no aliasing effect in DX9 whereas in DX10/11 mode FXAA is working as usual. Maybe you can check this out. Examples with Beta9 Default below.


DX9 FXAA
http://s7.directupload.net/images/110807/t5haslsx.png

DX9 no FXAA
http://s1.directupload.net/images/110807/mn8zh6bh.png

DX10 FXAA
http://s7.directupload.net/images/110807/6igqvpcm.png

DX10 no FXAA
http://s1.directupload.net/images/110807/j46uuqz3.png

dargo
2011-08-07, 17:06:17
There might be an issue in Metro 2033 with FXAA in DX9 mode, I'm quite sure. Almost no aliasing effect in DX9 whereas in DX10/11 mode FXAA is working as usual. Maybe you can check this out. Examples with Beta9 Default below.


DX9 FXAA
http://s7.directupload.net/images/110807/t5haslsx.png

DX9 no FXAA
http://s1.directupload.net/images/110807/mn8zh6bh.png

DX10 FXAA
http://s7.directupload.net/images/110807/6igqvpcm.png

DX10 no FXAA
http://s1.directupload.net/images/110807/j46uuqz3.png
DX10 sieht klasse aus. Aber unter DX9 greift FXAA gar nicht. :confused:

hier mal die Version mit einem 2ten durchlauf zum Schärfen. Ist nur ein einfacher Shader ( Funktion wie bei z.B. Gimp), hab die Einstellungen wieder an den Anfang der Datei (Post.h) gelegt.

Parameter sind noch nicht justiert, müsst ihr selber mal gucken.
Ist das mit diesem PP-Zeugs? Das möchte ich gar nicht haben wenns geht. :)

Edit:
Oder reicht es in dem Fall einfach die Post.h auszulassen?

BeetleatWar1977
2011-08-07, 17:14:11
DX10 sieht klasse aus. Aber unter DX9 greift FXAA gar nicht. :confused:


Ist das mit diesem PP-Zeugs? Das möchte ich gar nicht haben wenns geht. :)

Edit:
Oder reicht es in dem Fall einfach die Post.h auszulassen?
Schau mal in die Datei rein - Du kannst alle Funktionen einzeln Ein und Ausschalten ;)

dargo
2011-08-07, 17:21:34
Schau mal in die Datei rein - Du kannst alle Funktionen einzeln Ein und Ausschalten ;)
Zwei Probleme mit deinem Paket festgestellt.

1. Direkte Vergleiche zwischen beta 9 und deiner Version sind nicht möglich da 2 von 4 Dateien sich nicht ersetzen lassen ohne aus dem Spiel rauszugehen.
2. Nachdem ich alle 4 Dateien ersetzt habe (ohne Post.h) startet Mafia II nicht mehr.

PS: In die Dateien reinzuschauen bringt mich nicht weiter, das ist alles fachchinesisch für mich. ;)

mapel110
2011-08-07, 17:31:31
Außer, dass das Bild dunkler wird, passiert bei mir nichts. Keine Glättung.
http://www.abload.de/img/screenshot18722637.png
http://www.abload.de/img/screenshot1989e0ko.png

_/VeRtigo
2011-08-07, 17:32:08
Kurze frage, wenn ich z.B. ein Spiel habe mit genug Performancereserven, was müsste ich in der datei einstellen um die bestmögliche Qualität für FXAA zu erhalten? Verwende es gerade für Divinity 2 und es ist spitze, aber ich würde gerne noch mehr herausholen.

Außerdem ist mir aufgefallen, dass es irgendwie den Kontrast des Spieles ändert, welcher Befehl wäre denn hier auszuschalten damit wirklich nur FXAA arbeitet?
Danke im voraus ;)

_/VeRtigo
2011-08-07, 17:40:27
Alles klar, hab mit den Befehlen herumgespielt aber ohne das Schärfen wirkt das Spiel doch sehr verwaschen.
Was die Qualität des FXAA angeht, hast du das ein paar Tipps wegen den Parametern?

BeetleatWar1977
2011-08-07, 17:44:49
Alles klar, hab mit den Befehlen herumgespielt aber ohne das Schärfen wirkt das Spiel doch sehr verwaschen.
Was die Qualität des FXAA angeht, hast du das ein paar Tipps wegen den Parametern?
Da bin ich selber noch etwas Planlos

BeetleatWar1977
2011-08-07, 17:51:55
Merci. =)

noAA
http://s7.directupload.net/images/110807/temp/iq8b2sis.jpg (http://s7.directupload.net/file/d/2609/iq8b2sis_jpg.htm)

FXAA @Beetle
http://s7.directupload.net/images/110807/temp/35hipmoj.jpg (http://s7.directupload.net/file/d/2609/35hipmoj_jpg.htm)

Man sieht, dass deine Version sehr gut auch die Stromleitungen erfasst im Gegensatz zur beta 9. Habe hier beides an gehabt, sowohl USE_SHARPENING als auch USE_ADD_SHARPENING. Dafür wird das Dach bsw. etwas schlechter geglättet. Auf der anderen Seite büßt die Bildschärfe mit deiner Version imho überhaupt nichts ein. Das finde ich schon sehr erfreulich. Ich probiere mal noch die einzelen "Schärfer" aus. :)

erhöh mal den Wert:
float sharpen = 0.01; //Controls the additional Sharpening - applied after the PP, this is a fast&simple one

z.B. auf 0.1

:wink:

dargo
2011-08-07, 18:05:46
erhöh mal den Wert:
float sharpen = 0.01; //Controls the additional Sharpening - applied after the PP, this is a fast&simple one

z.B. auf 0.1

:wink:
Hoppala... jetzt wirds extrem scharf. ;D
#define USE_SHARPENING
//#define USE_TONEMAP
//#define USE_BLOOM
//#define USE_LIMITER
#define USE_ADD_SHARPENING
plus
float sharpen = 0.1; //Controls the additional Sharpening - applied after the PP, this is a fast&simple one
http://s7.directupload.net/images/110807/temp/2j4ss44d.jpg (http://s7.directupload.net/file/d/2609/2j4ss44d_jpg.htm)

Die Grafik ist wesentlich schärfer als ohne AA, die Kantenglättung funktioniert aber immer noch recht gut. :eek: Danke... :massa: jetzt weiß ich wo ich ansetzen muss. :up:

_/VeRtigo
2011-08-07, 18:07:17
Der float sharpen wert ist nicht gut, schlechtere qualität. Hab auch schon rumprobiert. Besser ist da in der sharpen.h den wert #define Sharpen_val0 1.2 auf 1.6 oder so zu setzten je nachdem wie scharf man es mag, das produziert weniger flimmern und weniger artefakte als der andere schärfe-filter.

Edit: Jo also mit subpixel quali 0.75 + das schärfen auf 1.6 = fxaa ohne wirklichen schärfeverlust & ohne künstliche schärfe in divinity 2 und Mafia 2.
Edit 2: Gibt es eine möglichkeit FXAA auch in OpenGL zu nutzen? Ich denke da z.b. an Riddick mit SSAO ;)

Ronny145
2011-08-07, 18:17:19
Kurze frage, wenn ich z.B. ein Spiel habe mit genug Performancereserven, was müsste ich in der datei einstellen um die bestmögliche Qualität für FXAA zu erhalten? Verwende es gerade für Divinity 2 und es ist spitze, aber ich würde gerne noch mehr herausholen.


Ich bin momentan bei folgenden Einstellungen.

Shader
#include "Sharpen.h"

//c0.w = dot(c0.xyz,float3(0.299, 0.587, 0.114)); //store luma in alpha
c0.w = sqrt(dot(c0.xyz,float3(0.299, 0.587, 0.114))); //store luma in alpha
return c0;

0.80, //fxaaQualitySubpix (default: 0.75)
0.080, //fxaaQualityEdgeThreshold
0.0800, //fxaaQualityEdgeThresholdMin

Sharpen

#define moyenne 0.0
#define SharpenEdge 0.0
#define Sharpen_val0 1.3

dargo
2011-08-07, 18:19:57
@BeetleatWar1977

Du bist mein Held. :massa:

noAA
http://s7.directupload.net/images/110807/temp/lgkopb8a.jpg (http://s7.directupload.net/file/d/2609/lgkopb8a_jpg.htm)

FXAA @Beetle
#define USE_SHARPENING
//#define USE_TONEMAP
//#define USE_BLOOM
//#define USE_LIMITER
#define USE_ADD_SHARPENING
plus
float sharpen = 0.02; //Controls the additional Sharpening - applied after the PP, this is a fast&simple one
http://s7.directupload.net/images/110807/temp/v9noe38j.jpg (http://s7.directupload.net/file/d/2609/v9noe38j_jpg.htm)

Ich sehe keinen Verlust der Texturschärfe, und ich klebe hier schon mit der Nase am TFT. ;D Das einzige was mir langsam Sorgen macht - durch immer mehr Effekte kostets mehr Performance. NoAA liefert 142fps, FXAA 115fps. NoAA ist immerhin schon 23% schneller. Und ich weiß nicht inwieweit die Szene gpu-limitiert ist. Es könnte also durchaus sein, dass es noch teurer ist.

Edit:
Ich finde Mafia II sieht damit schon sehr gut aus.

2880x1620 FXAA@Beetle/16xHQAF @1920x1080 downsampled
http://s1.directupload.net/images/110807/temp/kfhi83lx.jpg (http://s1.directupload.net/file/d/2609/kfhi83lx_jpg.htm)

Vielleicht kann man jetzt noch an der Effizienz etwas feilen. ;)

_/VeRtigo
2011-08-07, 18:43:25
Wow Ronny145 danke, echt super in Divnity 2 mit diesen Einstellungen.
Also ich habe es gerade so:
#define USE_SHARPENING
//#define USE_TONEMAP
//#define USE_BLOOM
//#define USE_LIMITER
//#define USE_ADD_SHARPENING

Das float sharpen habe ich auf 0.0 und in der sharpen.h das #define Sharpen_val0 auf 1.6
und dazu die fxaa einstellungen von ronny = win.

@Dargo: um performance zu sparen solltest du evtl nur eine form des schärfens verwenden und nicht beide zusammen. Ich habe z.b. in shift 2 mit diesen einstellungen nur 1fps verlust.

BeetleatWar1977
2011-08-07, 18:44:48
Der float sharpen wert ist nicht gut, schlechtere qualität. Hab auch schon rumprobiert. Besser ist da in der sharpen.h den wert #define Sharpen_val0 1.2 auf 1.6 oder so zu setzten je nachdem wie scharf man es mag, das produziert weniger flimmern und weniger artefakte als der andere schärfe-filter.

Edit: Jo also mit subpixel quali 0.75 + das schärfen auf 1.6 = fxaa ohne wirklichen schärfeverlust & ohne künstliche schärfe in divinity 2 und Mafia 2.
Edit 2: Gibt es eine möglichkeit FXAA auch in OpenGL zu nutzen? Ich denke da z.b. an Riddick mit SSAO ;)
Ich weiß das die Qualität nicht hundertprozentig ist (vor allem bei höheren Werten), aber er ist schnell ;)

zu Edit2

Wenn sich Shader in Riddick einbauen lassen - im FXAA Shadercode gibts auch ne OpenGL-Variante.

Edit:
Wow Ronny145 danke, echt super in Divnity 2 mit diesen Einstellungen.
Also ich habe es gerade so:
#define USE_SHARPENING
//#define USE_TONEMAP
//#define USE_BLOOM
//#define USE_LIMITER
//#define USE_ADD_SHARPENING

Das float sharpen habe ich auf 0.0 und in der sharpen.h das #define Sharpen_val0 auf 1.6
und dazu die fxaa einstellungen von ronny = win.

@Dargo: um performance zu sparen solltest du evtl nur eine form des schärfens verwenden und nicht beide zusammen. Ich habe z.b. in shift 2 mit diesen einstellungen nur 1fps verlust.


Wenn du die Funktion deaktiviert hast, spielen die Werte keine Rolle mehr ;)

Ronny145
2011-08-07, 18:48:30
Wow Ronny145 danke, echt super in Divnity 2 mit diesen Einstellungen.
Also ich habe es gerade so:
#define USE_SHARPENING
//#define USE_TONEMAP
//#define USE_BLOOM
//#define USE_LIMITER
//#define USE_ADD_SHARPENING

Das float sharpen habe ich auf 0.0 und in der sharpen.h das #define Sharpen_val0 auf 1.6
und dazu die fxaa einstellungen von ronny = win.

@Dargo: um performance zu sparen solltest du evtl nur eine form des schärfens verwenden und nicht beide zusammen. Ich habe z.b. in shift 2 mit diesen einstellungen nur 1fps verlust.


Vielleicht passt es in Divinity 2. 1.6 Sharpen wäre viel zu viel in anderen Spielen. Arcania ist ein gutes Testspiel hierfür, weil extrem flimmeranfällig. Die 2 anderen Sharpen Werte auf 0.0 bringen minimal performance und sind unnütz. Daher ganz deaktiviert.

_/VeRtigo
2011-08-07, 18:49:10
Hab extra probiert welches define welche schärfe einstellungen betrifft. Wenn ich z.b. das sharpen val0 auf 20 stelle sieht man das, du hast aber recht das float sharpen ist sowieso aus.

Ronny145
2011-08-07, 19:00:33
Hab extra probiert welches define welche schärfe einstellungen betrifft. Wenn ich z.b. das sharpen val0 auf 20 stelle sieht man das, du hast aber recht das float sharpen ist sowieso aus.

Float Sharpen gibt es nicht. Bitte immer angeben, wenn ihr andere Files benutzt als die Sharpen.h von some dude. Es blickt sonst kein Mensch mehr durch.

_/VeRtigo
2011-08-07, 19:02:29
Jo meine das float sharpen in der post.h. Habe die neue beta von beetle runtergeladen da war die datei dabei.

Ronny145
2011-08-07, 19:04:00
Jo meine das float sharpen in der post.h. Habe die neue beta von beetle runtergeladen da war die datei dabei.

Post.h ist nicht von some dude. Meine Werte beziehen sich auf Original some dude Files. Ein Float Sharpen gibt es da nicht.

OC_Burner
2011-08-07, 19:05:18
Edit 2: Gibt es eine möglichkeit FXAA auch in OpenGL zu nutzen? Ich denke da z.b. an Riddick mit SSAO ;)

Mit passendem OpenGL to D3D9 Wrapper schon. Ich kenne nur einen und der ist ziemlich alt. Doom3 ist schon zu neu. Das Worms3D von 2003 funktioniert allerdings noch mit dem Wrapper, zuzüglich injectFXAA.

dargo
2011-08-07, 19:08:57
@Dargo: um performance zu sparen solltest du evtl nur eine form des schärfens verwenden und nicht beide zusammen. Ich habe z.b. in shift 2 mit diesen einstellungen nur 1fps verlust.
Stimmt auch wieder. Muss da noch bissel probieren.

@Beetle

Dieses "float sharpen"... wirkt sich das auf beide Parameter aus?
#define USE_SHARPENING
#define USE_ADD_SHARPENING
Kann ich also ruhig auf eins verzichten um Leistung zu sparen?

BeetleatWar1977
2011-08-07, 19:10:43
Stimmt auch wieder. Muss da noch bissel probieren.

@Beetle

Dieses "float sharpen"... wirkt sich das auf beide Parameter aus?
#define USE_SHARPENING
#define USE_ADD_SHARPENING
Kann ich also ruhig auf eins verzichten um Leistung zu sparen?

float sharpen wirkt nur auf
#define USE_ADD_SHARPENING

ich glaub ich nenn den Parameter besser auf addsharpen um oder?

Edit: der zweite Code ist etwas schneller - der erste berücksichtigt subpixel.

Gast
2011-08-07, 19:15:09
where can i tuned the R G B colour?

thank you~

Whyt
2011-08-07, 19:25:44
Hallo Leute,
ich verfolge das Thema schon eine geraume zeit und experimentiere mit ARMA2 herum ... soweit alles toll !!

Aber, hat einer eine Idee wie diese Stromleitungen schärfer bekomme ? Habe vergleichsbilder angehangen ... meine einstellungen sind zurzeit :

0.90, //fxaaQualitySubpix (default: 0.75)
0.070, //fxaaQualityEdgeThreshold
0.0300, //fxaaQualityEdgeThresholdMin

#define USE_SHARPENING
//#define USE_TONEMAP
#define USE_BLOOM
#define USE_LIMITER
#define USE_ADD_SHARPENING

http://www.abload.de/thumb/screenshot64549rcqn.png (http://www.abload.de/image.php?img=screenshot64549rcqn.png)

http://www.abload.de/thumb/screenshot64440hcs1.png (http://www.abload.de/image.php?img=screenshot64440hcs1.png)

danke schomal und bin echt schwer begeister von FXAA !! Super Sache :D

dargo
2011-08-07, 19:36:21
float sharpen wirkt nur auf
#define USE_ADD_SHARPENING

ich glaub ich nenn den Parameter besser auf addsharpen um oder?

Edit: der zweite Code ist etwas schneller - der erste berücksichtigt subpixel.
Verstehe ich es richtig? Wenn ich die beste Kantenglättung will muss ich beide nehmen, wenn ich Leistung sparen will und schlechtere Kantenglättung in Kauf nehme reicht USE_ADD_SHARPENING?

Ronny145
2011-08-07, 19:37:43
Hallo Leute,
ich verfolge das Thema schon eine geraume zeit und experimentiere mit ARMA2 herum ... soweit alles toll !!

Aber, hat einer eine Idee wie diese Stromleitungen schärfer bekomme ? Habe vergleichsbilder angehangen ... meine einstellungen sind zurzeit :



Subpix runtersetzen oder Sharpen_val0 erhöhen.

_/VeRtigo
2011-08-07, 19:41:38
Hab im inet gelesen es soll auch bei ein paar DX11 spielen funken, habe da nur Stalker COP aber das wäre schon sehr geil wenn das auch mit fxaa gehen würde. Jemand eine idee wo man hier die dateien einfügen muss und welche version vom fxaa man evtl benötigt?

BeetleatWar1977
2011-08-07, 19:41:39
Verstehe ich es richtig? Wenn ich die beste Kantenglättung will muss ich beide nehmen, wenn ich Leistung sparen will und schlechtere Kantenglättung in Kauf nehme reicht USE_ADD_SHARPENING?

Der obere ist der bessere - aber auch schwerer zu justieren

zum mitmeißeln:

Es sind beides "Nachschärfer" - der obere ist besser aber langsamer. Ich behaupte aber mal, der Unterschied fällt erst bei sehr hohen Settings auf.

Ronny145
2011-08-07, 19:45:08
Der obere ist der bessere - aber auch schwerer zu justieren

zum mitmeißeln:

Es sind beides "Nachschärfer" - der obere ist besser aber langsamer. Ich behaupte aber mal, der Unterschied fällt erst bei sehr hohen Settings auf.

Ich bräuchte ein dezentes Nachschärfen für Arcania. Welche Einstellungen müsste ich vornehmen? Ich muss mal vergleichen ob es überhaupt was bringt im Vergleich zur Sharpen.h von some dude.

BeetleatWar1977
2011-08-07, 19:53:48
Ich bräuchte ein dezentes Nachschärfen für Arcania. Welche Einstellungen müsste ich vornehmen? Ich muss mal vergleichen ob es überhaupt was bringt im Vergleich zur Sharpen.h von some dude.
Ich habs jetzt noch nicht probiert aber grob:

Sharpen_val0 - 1

müsste dann (ungefähr) denselben Effekt erzeugen.
wären bei Sharpen_val0 = 1.2 dann halt sharpen = 0.2

Bin gerade Treiber am installieren deswegen kann ich nicht testen.

Ronny145
2011-08-07, 19:58:26
Ich habs jetzt noch nicht probiert aber grob:

Sharpen_val0 - 1

müsste dann (ungefähr) denselben Effekt erzeugen.
wären bei Sharpen_val0 = 1.2 dann halt sharpen = 0.2

Bin gerade Treiber am installieren deswegen kann ich nicht testen.

Also so?

#define USE_SHARPENING
//#define USE_ADD_SHARPENING

float sharpen = 0.2

dargo
2011-08-07, 20:06:54
Der obere ist der bessere - aber auch schwerer zu justieren

zum mitmeißeln:

Es sind beides "Nachschärfer" - der obere ist besser aber langsamer. Ich behaupte aber mal, der Unterschied fällt erst bei sehr hohen Settings auf.
Ok, danke. Nutze jetzt nur noch "#define USE_ADD_SHARPENING" und hab auch einen sehr guten Kompromiss für mich gefunden. =)

BeetleatWar1977
2011-08-07, 20:20:38
Also so?

#define USE_SHARPENING
//#define USE_ADD_SHARPENING

float sharpen = 0.2

genau andersrum

OC_Burner
2011-08-07, 20:26:58
Hab im inet gelesen es soll auch bei ein paar DX11 spielen funken, habe da nur Stalker COP aber das wäre schon sehr geil wenn das auch mit fxaa gehen würde. Jemand eine idee wo man hier die dateien einfügen muss und welche version vom fxaa man evtl benötigt?

:whistle: http://www.forum-3dcenter.org/vbulletin/showthread.php?p=8873812#post8873812

Die aktuelle beta9 funktioniert einwandfrei.

DrFreaK666
2011-08-07, 20:27:10
Wäre es möglich ein Tool zu basteln um Screenshots nachträglich per FXAA zu glätten?
Ok, möglich wäre es, aber machts auch jemand?? :smile:

_/VeRtigo
2011-08-07, 21:27:56
@OC_Burner: was meinst du mit dxgi.dll? In dem pack was ich von beetle runtergeladen habe war keine solche datei dabei.

BeetleatWar1977
2011-08-07, 21:28:38
@OC_Burner: was meinst du mit dxgi.dll? In dem pack was ich von beetle runtergeladen habe war keine solche datei dabei.
öhm - ich bin noch bei dx9 zum 10+ bin ich noch nicht gekommen :redface:

_/VeRtigo
2011-08-07, 21:34:13
Asooo also muss ich mir die "original" beta ohne die schärfe filter runterladen. Alles klar ;)

Ronny145
2011-08-07, 21:39:12
Asooo also muss ich mir die "original" beta ohne die schärfe filter runterladen. Alles klar ;)

Einfach den Schärfefilter vom originalen benutzen.

_/VeRtigo
2011-08-07, 21:47:56
Finde dazu aber keine Einstellmöglichkeit in den DX10+ Dateien.

Edit: Naja ist auch wurscht, habe bei COP bessere Performance mit dem Ingame 4xMSAA als mit FXAA also aus die Maus ;) .

Ronny145
2011-08-07, 21:58:26
Finde dazu aber keine Einstellmöglichkeit in den DX10+ Dateien.

Funktioniert die sharpen.h nur unter DX9?


I have graphical artefacts with Mafia 2 and Beta9.

FXAA
http://www.abload.de/img/mafia2fxaad32o.png

NoAA
http://www.abload.de/img/mafia2noaamvi7.png


Edit:
Ich finde Mafia II sieht damit schon sehr gut aus.

2880x1620 FXAA@Beetle/16xHQAF @1920x1080 downsampled
http://s1.directupload.net/images/110807/temp/kfhi83lx.jpg (http://s1.directupload.net/file/d/2609/kfhi83lx_jpg.htm)



Du hast keine Grafikfehler in Mafia 2?

Superheld
2011-08-07, 22:21:30
habs auch mal getestet mit Crysis @dx10 Very High:smile:

http://www.abload.de/thumb/3vqsn.jpg (http://www.abload.de/img/3vqsn.jpg)

FXAA an
http://www.abload.de/thumb/4mdpt.jpg (http://www.abload.de/img/4mdpt.jpg)

dildo4u
2011-08-07, 22:31:47
Wie viel MSAA?

_/VeRtigo
2011-08-07, 22:32:35
@Ronny145: Ja leider die sharpen datei wird nur unter dx9 geladen, außerdem steht im readme man solle die dateien für die APIs nicht mischen. Habe auch keine fehler in mafia 2 bemerkt.

@Beetle: Vl kannst du ja den sharpenfilter aus der neusten IceEnchancer porten, ich finde der leistet gute Arbeit in GTA IV.

Superheld
2011-08-07, 22:48:14
Wie viel MSAA?

war nicht an, jetzt mit 4xMSAA

http://www.abload.de/thumb/43f3b.jpg (http://www.abload.de/img/43f3b.jpg)

FXAA
http://www.abload.de/thumb/36rck.jpg (http://www.abload.de/img/36rck.jpg)

dargo
2011-08-07, 23:52:26
Du hast keine Grafikfehler in Mafia 2?
Nö. :)

http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8874866&postcount=4032

Wie viel MSAA?
Afaik ist MSAA inkompatibel zu FXAA. Also entweder oder...

Gast
2011-08-08, 01:21:04
[some dude]
@Ronny145: Man, I did not expect this from you. Took me forever to download, install and test Metro 2033 just to figure out - everything works fine (for me) in d3d9 mode. It is one of those game which do no accept the alpha channel, so one needs to add "#define FXAA_GREEN_AS_LUMA 1" at the beginning of shader.fx.

Ronny145
2011-08-08, 01:44:30
[some dude]
@Ronny145: Man, I did not expect this from you. Took me forever to download, install and test Metro 2033 just to figure out - everything works fine (for me) in d3d9 mode. It is one of those game which do no accept the alpha channel, so one needs to add "#define FXAA_GREEN_AS_LUMA 1" at the beginning of shader.fx.

My bad. Tried MSAA, AAA, low and high settings, different folders but forgot the LUMA string. Oh and the graphical artefacts in Mafia 2 are gone with the LUMA string.

Do you think the sharpen.h can be done for DX10/11 mode?

Crux
2011-08-08, 02:00:05
Alright news from Blizzard on use of the FXAA inject/ hook in World of Warcraft:

Hello again,

Ok so the use of this would only become a problem for you if the FXAA began to adapt core Blizzard files in the data.MPQ file, so long as this doesn't take place you should be ok to use it in game however in order for us to officially ''support'' it Timothy would first need to have it supported by Nvidia in their own drivers as far as I can see really.

So I would contact him directly and ask what his plans are for the shader.

Regards,
xxx

English Game Master Team
Blizzard Entertainment


Well at least they got back to me but it hardly sounds as if the guy did understand completly, so not sure if you can use this as "hell yeah Blizzard said I can use this", in any case it doesn't really matter so far, you don't have to try, as I did and like a guest reported earlier it "doesn't seem to work" in World Of Wacraft (WoW) maybe a shader folder would be somewhere in said "data.MPQ" but as we know they wouldn't want anyone to mess with that. Also the log file of the hook says:

redirecting CreateDXGIFactory1
redirecting IDXGIFactory1->CreateSwapChain
pDevice->CreateDeferredContext failed [what exactly does this mean and why is this?]

I know [some dude] said it means it can't work and he can't do nothing about it, but what does that log entry actually mean? Really no way around it [some dude]? ;(

dildo4u
2011-08-08, 02:12:51
Afaik ist MSAA inkompatibel zu FXAA. Also entweder oder...
Nope siehe seine Screens mit 4XMSAA die Blätter im Vordergrund sind geglättet mit FXAA.

http://www.abload.de/img/36rckv3uv.jpg

Ohne FXAA
http://www.abload.de/img/43f3bevtk.jpg

http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8874660&postcount=556

[Anarki_Hunter]
2011-08-08, 08:09:08
TY to @Somebody for the new variant of your FXAA package again..TY TY..

---

Does FXAA DLL wrapper, update settings in real time while playing (with the 'ON' 'OFF' and then 'ON' buttom)!.

Since its post processing, will it kinda..must work..mostly!!??.

Example -> I <-
1. Currently running a game with the FXAA DLL wrapper with switch 'ON'
2. I switch 'OFF' FXAA by hotkey (with "Pause" botton)
3. Alt Tab to Windows
4. Make changes to either 'Fxaa3_11.h' or 'Shader.fx' or any other file in that game folder
5. Alt Tab to Game
6. I switch 'ON' FXAA
*Will the changes I made above in point 4, will it work?

Example -> II <-
1. Currently running a game with the FXAA DLL wrapper with switch 'ON'
2. Alt Tab to Windows
3. Make changes to either 'Fxaa3_11.h' or 'Shader.fx' or any other file in that game folder
4. Alt Tab to game
5. I switch 'OFF' FXAA by hotkey (with "Pause" botton) in the game
6. I switch 'ON' FXAA
*Will the changes I made above in point 3, will it work?

If the above works, and also someone makes FXAA configurator (not somebody, already too much help from him :) )

A FXAA configurator with simple sliders for values in 'Shader.fx' or 'sharpen.h' for base DLL wrapper.

This way, one can play the game in window with toggling 'On' 'OFF' and 'ON' FXAA..with the FXAA configurator running next to it. To easily configure it for the game, then a save button in the FXAA configurator which can copy the FXAA package from the game's dir and save it in a 7z file or some other location!... (for easy pickup, and send it to some one else). It would be AWESOME.

BeetleatWar1977
2011-08-08, 08:11:38
;8875033']TY to @Somebody for the new variant of your FXAA package again..TY TY..

---

Does FXAA DLL wrapper, update settings in real time while playing (with the 'ON' 'OFF' and then 'ON' buttom)!.

Since its post processing, will it kinda..must work..mostly!!??.

Example -> I <-
1. Currently running a game with the FXAA DLL wrapper with switch 'ON'
2. I switch 'OFF' FXAA by hotkey (with "Pause" botton)
3. Alt Tab to Windows
4. Make changes to either 'Fxaa3_11.h' or 'Shader.fx' or any other file in that game folder
5. Alt Tab to Game
6. I switch 'ON' FXAA
*Will the changes I made above in point 4, will it work?

Example -> II <-
1. Currently running a game with the FXAA DLL wrapper with switch 'ON'
2. Alt Tab to Windows
3. Make changes to either 'Fxaa3_11.h' or 'Shader.fx' or any other file in that game folder
4. Alt Tab to game
5. I switch 'OFF' FXAA by hotkey (with "Pause" botton) in the game
6. I switch 'ON' FXAA
*Will the changes I made above in point 3, will it work?

If the above works, and also someone makes FXAA configurator (not somebody, already too much help from him :) )

A FXAA configurator with simple sliders for values in 'Shader.fx' or 'sharpen.h' for base DLL wrapper.

This way, one can play the game in window with toggling 'On' 'OFF' and 'ON' FXAA..with the FXAA configurator running next to it. To easily configure it for the game, then a save button in the FXAA configurator which can copy the FXAA package from the game's dir and save it in a 7z file or some other location!... (for easy pickup, and send it to some one else). It would be AWESOME.
both variants should work ;)

dargo
2011-08-08, 09:57:45
Nope siehe seine Screens mit 4XMSAA die Blätter im Vordergrund sind geglättet mit FXAA.

http://www.abload.de/img/36rckv3uv.jpg

Ohne FXAA
http://www.abload.de/img/43f3bevtk.jpg

http://www.forum-3dcenter.org/vbulletin/showpost.php?p=8874660&postcount=556
Wo ist da der Widerspruch? Das erste Bild ist mit 4xMSAA, das zweite mit FXAA (ohne MSAA).

ist doch Quatsch³ hier blickt kein schwein mehr durch mit euren Auto Schrift etc.pp. Gesabbel und shader änderungen, macht nen eigenen fred auf, es nervt nur noch das hier 3 leute den Fred für ihren eigenen müll mißbrauchen.

Du hast die Option dem Thread fernzubleiben, keiner hält dich hier fest.


Unter DX9 brauch man den Quatsch eh nicht in 90 von 100 Fällen da hat man sgssaa.
SGSSAA ist leider nicht in jedem Game vorhanden und verursacht nicht selten Grafikfehler wie zb. in Shift 2.

spajdr
2011-08-08, 10:17:11
How about making predefined sharpen filter settings starting with low and ending with high sharpness, could you switch it on fly via for example numlock keys + and - without editing any files and alt + tabbing from a game?

Gast
2011-08-08, 11:28:03
[some dude]
@Crux: The line "pDevice->CreateDeferredContext failed" means that the game while using a DirectX 11 rendering path (with a DirectX 10/11 device feature level) it disables one of its core features (CreateDeferredContext). The funny thing is - in our multicore era it optimizes the engine for single threaded use. Additionally Microsoft removed StateBlocks from DirectX 11 (which are used in DirectX 9/10 rendering paths) and I need one of those features.
@Anarki_Hunter: Both of your methods to update shader files could work in some instances, however in the general case it depends on the game. The resources have to be updated every time the game engine updates the device configuration. This could be the game when you switch from desktop to the fullscreen mode, but it really depends on the game's behaviour. Switching fxaa on/off really changes one single bit in the entire game and has no other effects such are recreation/recompilation of the resources.
@Ronny145: Sharpen.h can also be written for the DirectX 10/11 path. The main difference is the usage of object oriented hlsl 4 code instead of procedural hlsl 3 code.

Ronny145
2011-08-08, 11:54:39
[some dude]
@Ronny145: Sharpen.h can also be written for the DirectX 10/11 path. The main difference is the usage of object oriented hlsl 4 code instead of procedural hlsl 3 code.

If you can do this for Beta10 it would be very much appreciated.