Announcement

Collapse
No announcement yet.

Anti-Aliasing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Anti-Aliasing

    Hey!

    Does anyone know why Anti-Aliasing options in UE4 are so limited?

    Is it that Even turning on FXAA also increases the amount it processes? What if I wanted to set it to only 4x or so?

    #2
    Dont use FXAA, Temporal AA is better. And here are two console commands to increase/decrease the quality:

    r.TemporalAASamples
    r.TemporalAASharpness
    FREE VR Drum Kit Project
    FREE Color LUT Collection
    FREE Physics Driven Spacecraft Project
    FREE GTA Style Vehicle Interaction
    Dynamic DoF(Depth of Field)
    Camera Crossfade

    Comment


      #3
      Temporal AA can be very ugly in some cases, like fast moving objects. I had to switch to FXAA for my game.

      Comment


        #4
        Yeah, Temporal AA has it's problems but it is a must have if you want to get the best of SSR, unfortunately.
        FREE VR Drum Kit Project
        FREE Color LUT Collection
        FREE Physics Driven Spacecraft Project
        FREE GTA Style Vehicle Interaction
        Dynamic DoF(Depth of Field)
        Camera Crossfade

        Comment


          #5
          Would it be possible to enable temporal AA only on some g-buffer channels and then use FXAA on the final image? I suppose this would require two post proc. AA passes, but it would help with the moving stuff. As it stands now, temporal AA causes some ugly artifacts in the albedo of things like swaying trees and other foliage.

          Comment


            #6
            Yea, Neither of them are going to be able to fix my issue. I have a rather thin object that needs to be clearly visible a good distance from the camera. It is pretty much one giant jagged line now. Guess I will just change my camera angle.

            Thanks for the info!

            Edit: What is 'SSR'?

            Comment


              #7
              Screen-space reflections. Not sure how that really benefits from AA though?

              I would not use temporal AA because it causes horrific jittering in the GBuffer, which may or may not be related to the artifacts you're seeing.

              Comment


                #8
                I'm not sure why it affects SSR so much but here are two comparisons with FXAA and Temporal AA;

                Click image for larger version

Name:	SSR_FXAA.JPG
Views:	1
Size:	33.4 KB
ID:	1061718 Click image for larger version

Name:	SSR_TAA.JPG
Views:	1
Size:	34.7 KB
ID:	1061719

                It looks as if FXAA is either ignoring the skylight or just blurring the reflections way too much.
                FREE VR Drum Kit Project
                FREE Color LUT Collection
                FREE Physics Driven Spacecraft Project
                FREE GTA Style Vehicle Interaction
                Dynamic DoF(Depth of Field)
                Camera Crossfade

                Comment


                  #9
                  Interesting, From what I understand FXAA pretty much applies a slight blur to the entire screen. Right?

                  Comment


                    #10
                    Originally posted by HaxO View Post
                    Interesting, From what I understand FXAA pretty much applies a slight blur to the entire screen. Right?
                    Well, an algorythm of sorts.

                    Not sure why there is no MSAA option

                    Comment


                      #11
                      We can answer Epic to implement some of these anti aliasing algorithms, it should not be problematic

                      Comment


                        #12
                        Originally posted by rodstone View Post
                        Not sure why there is no MSAA option
                        I may be wrong, but I don't think the deferred setup of the engine allows for traditional MSAA.

                        Comment


                          #13
                          FXAA is not bad. It uses the rendered image to figure out which pixels are very sharp next to each other and it will sort of apply a blur function only to the aliased pixels. The downside is when you want the sharpness for things like rocky textures. I'm not sure why FXAA looks bad on screenspace reflections, but in the past it was the go-to method for anti aliasing.

                          Comment


                            #14
                            Originally posted by HaxO View Post
                            Interesting, From what I understand FXAA pretty much applies a slight blur to the entire screen. Right?
                            No, it doesn't just blur the whole screen. It detects the edges in the image and then smooths only those edges.

                            Comment


                              #15
                              Each AA has different options suited per instance. TAA is used to make textures look smoother transition.

                              FXAA has an algorithm that searches for edges in the images depth then tries to avoid blurryness and then it smooths each group. The groups are made by pixels that were sorted by depth. FXAA drawback is that it has to be rendered before the screen HUD is rendered or it will blurr the hud too.
                              So to reply to the above, No it doesn't simply blur the whole screen or smooth it.
                              VFX Artist
                              Portfolio: Here

                              Comment

                              Working...
                              X