Welcome, Guest.
Username: Password: Remember me

TOPIC: Its possible to add support to CMAA?(Intel)

Its possible to add support to CMAA?(Intel) 1 year 7 months ago #1

Was looking for anti-aliasing techniques, and found that,one called CMAA, the the quality is close to MSAA 4x with the perfomance lower of MSAA 2x, I even downloaded Intel's source code, there was a file called CMAA.h, similar to Reshade files, , but i dont know much about programming, but it seems to be easy to include this effect in Reshade.

https://software.intel.com/en-us/articles/conservative-morphological-anti-aliasing-cmaa


Last Edit: 1 year 7 months ago by andrew.
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 1 year 7 months ago #2

  • v00d00m4n
  • v00d00m4n's Avatar
  • Offline
  • Posts: 72
  • Thank you received: 17
There is updated version, would be nice if someone will port it to reshade
software.intel.com/en-us/articles/conser...aliasing-cmaa-update
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 1 year 7 months ago #3

Judging from the file, it need RWtexture2d for UAV (unordered access view) mapping in pixel shader and currently it is not provided in reshade.

There might be some workaround with multiple render target, but such adaption will require some deeper look.
Last Edit: 1 year 7 months ago by kingeric1992.
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 10 months 4 weeks ago #4

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 167
  • Thank you received: 15
Up (for ReShade 3.0)!
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 3 months 2 weeks ago #5

github.com/justinow/CMAA_Reshade_3 found this, but im getting errors!

error X3548: in ps_3_0 uints can only be used with known-positive values, use int if possible
Last Edit: 3 months 2 weeks ago by NoMansReshade.
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 3 months 2 weeks ago #6

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 811
  • Thank you received: 869
Whoever ported this is a tiny bit crazy:
// avoid doing pow and look up an array of 1024 values instead.
return LstarLookup(colour);

So to spare one simple ASM instruction that maybe costs a single nanosecond or whatever - he goes ahead and sets up an insanely large array of data. This won't work in DX9 at all and the amount of constant registers used are larger than anything I've seen before.
Last Edit: 3 months 2 weeks ago by Marty McFly.
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 3 months 2 weeks ago #7

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2721
  • Thank you received: 1550
Well, on the CPU that would likely be a lot faster. But as you said, on GPUs not, they are architectured very differently. It's a common mistake that developers new to GPU programming simply apply their CPU knowledge in the same way.
Cheers, crosire =)
The administrator has disabled public write access.

Its possible to add support to CMAA?(Intel) 2 months 1 week ago #8

  • Sunesha
  • Sunesha's Avatar
  • Offline
  • Posts: 181
  • Thank you received: 19
I tested this CMAA shader. Though I got it in the Lstar curve mode so it changed brightness overall. I had hard time judge it but overall still prefer the stock SMAA that is in the stock shader pack. I mostly had hope that do a better job on stuff moving or while you self is moving. I really hope that in future there will be shader handling that kind of aliasing. Downsampling helps a lot but my current GPU doesn't have the muscle for that. Guess 4k will help too.
The administrator has disabled public write access.