SMAA/FXAA and HUD UI

  • Martigen
  • Martigen's Avatar Topic Author
  • Away
  • Posts: 453
5 years 1 week ago #1 by Martigen
1. So... LuciferHawk's excellent HUD mask generator for DOF effects.

2. SMAA/FXAA unavoidably distorting text (even with corner rounding=0) and UI elements due to edge softening.

1 + 2 = HUD mask support for SMAA and FXAA? :)

Can we? Can we? Can we pleeeeeezee! *offers donuts, beer, and a scantily clad viking shield maiden. Note, you'll be her bitch.*

Please Log in or Create an account to join the conversation.

  • Posts: 790
5 years 1 week ago #2 by Ganossa
The Mask shader + helper is already a general solution that should already include masking of SMAA/FXAA and any other effects. It was never meant to only help with DoF its just the most obvious one to see ;)

Please Log in or Create an account to join the conversation.

  • Martigen
  • Martigen's Avatar Topic Author
  • Away
  • Posts: 453
5 years 1 week ago #3 by Martigen

LuciferHawk wrote: The Mask shader + helper is already a general solution that should already include masking of SMAA/FXAA and any other effects. It was never meant to only help with DoF its just the most obvious one to see ;)

Ohh, didn't know! Right, off to make one for Witcher 3 then. This way can use SMAA (which I think will be faster and better than W3's FXAA modified AA) without touching the excellent sharply defined fonts in the game.

One more thing tho -- so the mask bypasses all effects? Because sometimes you might want some effects to apply to the UI, say changes from DPX or other color filters. It's mainly things like DOF and SMAA/FXAA that UI needs to be exempt from.

Please Log in or Create an account to join the conversation.

  • Posts: 790
5 years 1 week ago #4 by Ganossa
Find the Mask shader in the effect ordering. Every shader executed before mask will be masked, everything else not :)
The following user(s) said Thank You: jas01

Please Log in or Create an account to join the conversation.

  • Martigen
  • Martigen's Avatar Topic Author
  • Away
  • Posts: 453
5 years 1 week ago #5 by Martigen

LuciferHawk wrote: Find the Mask shader in the effect ordering. Every shader executed before mask will be masked, everything else not :)

Of course, nice!

Please Log in or Create an account to join the conversation.

  • Posts: 261
5 years 1 week ago #6 by Kleio420

Martigen wrote:

LuciferHawk wrote: The Mask shader + helper is already a general solution that should already include masking of SMAA/FXAA and any other effects. It was never meant to only help with DoF its just the most obvious one to see ;)

Ohh, didn't know! Right, off to make one for Witcher 3 then. This way can use SMAA (which I think will be faster and better than W3's FXAA modified AA) without touching the excellent sharply defined fonts in the game.

One more thing tho -- so the mask bypasses all effects? Because sometimes you might want some effects to apply to the UI, say changes from DPX or other color filters. It's mainly things like DOF and SMAA/FXAA that UI needs to be exempt from.

tw3's aa wont be beat by plain smaa its temporal supersampling plus post aa its really only seen in motion , but yea smaa does improve the edge quality i prefer to use driver fxaa been trying to find good settings for smaa on the game havent found the sweet spot for me yet

Please Log in or Create an account to join the conversation.