[DX9] effect.txt FXAA

share shaders here
Post Reply
  • Author
  • Message
Offline
User avatar
Posts: 99
Joined: 11 May 2014, 10:48

[DX9] effect.txt FXAA

Here's a quick effect.txt FXAA implementation I just put together for my Dragon's Dogma ENB

Image

The pass prior to FXAA (so enbeffect.fx) has to output low dynamic range (= after tonemapping) non-linear RGB with luma in the alpha channel, so your enbeffect.fx pass should end in something like this:

Code: Select all

color.xyz = sqrt(color.xyz);
color.w = dot(color.xyz, float3(0.2125, 0.7154, 0.0721));
return color;
Attachments
ENB FXAA.zip
EDIT: Fixed sloppy GUI
(15.21 KiB) Downloaded 235 times
_________________
Reforged ENB for Dragon's Dogma, The Witcher 2, Kingdom Come: Deliverance
Post Reply