Announcement

Collapse
No announcement yet.

Why UE4 gives too low fps? Is there any way to increase it?

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

    Why UE4 gives too low fps? Is there any way to increase it?

    Hi everyone,

    From the beginning, I see that UE4 gives very low FPS. If I set everything to low I get 120 FPS on a blank scene which is maximum I can get from the engine.


    Here are the settings for this scene:


    When I worked with cryengine, I got FPS around 200 on a black scene.


    Now I tried to do some test between them. I tried to place some trees to make a dense environment and CE3 did it nicely. I can still get around 60 FPS from it.


    There are around 12K trees.


    Then I used same tree models on UE4, With same LOD settings but lower dense than CE3. It gives me less than 30FPS.


    There are 7.44K trees, same tree models from CE3, yet lower dense.


    What can be the workaround for this issue? Is there any way I can get better performance from UE4? Just because I'll only work with UE4 and never want to go with CryEngine, I really want to get better perfomance with a nice graphics on UE4.

    Please everyone share your own way of optimizing scenes.

    Thanks!
    Intel Core i5 3470 @3.20 GHz
    Intel DB75EN
    Nvidia GeForce 760 GTX
    8GB Ram - 1 TB HDD

    #2
    Just because Cryengine runs faster it doesn't mean UE4 should run as fast too. UE4 is just slower.
    I noticed this too when I switched engines a few years ago.
    The problem with UE4 is mostly the ShadowDepths cost being higher than expected, there are several bug reports on it as well.
    Last edited by Maximum-Dev; 05-13-2017, 05:25 AM.
    Artstation
    Join the support channel
    Gumroad Store

    Comment


      #3
      The blank scene will give you 120 fps for 2 reasons:
      1. the editor is capped at 120 fps. try using the console command t.MaxFPS and set it to 200 or whatever
      2. despite your scene is blank, the renderer is doing a lot of things. some of which you have some control (i.e. post processes) and many more that will happen no matter what

      in your latter tests where you compare UE4 to CryEngine you're using quite different camera angles (despite somewhat similar) which disrupts any viable comparison.
      on top of that your CryEngine viewport spans much more of the screen compared to UE4 so that will disrupt your results no matter what (if you make the viewport in UE4 as big as the CryEngine one, it will be even slower)


      so going back to your initial questions...
      Why UE4 gives too low fps?
      because it's slower

      Is there any way to increase it?
      yes. look around articles and tutorials, learn how to optimize it.
      there's a ton of factors that affect performance, and UE4 just cannot come out of the box with 'optimized' values that will run fast and look good for every possible game type
      Last edited by Chosker; 05-13-2017, 05:34 AM.
      Follow me on Twitter!
      Developer of Elium - Prison Escape
      Local Image-Based Lighting for UE4

      Comment


        #4
        Originally posted by Chosker View Post
        in your latter tests where you compare UE4 to CryEngine you're using quite different camera angles (despite somewhat similar) which disrupts any viable comparison.
        on top of that your CryEngine viewport spans much more of the screen compared to UE4 so that will disrupt your results no matter what (if you make the viewport in UE4 as big as the CryEngine one, it will be even slower)
        And his Cryengine test is running at Very High settings, UE4 on Low settings.
        Artstation
        Join the support channel
        Gumroad Store

        Comment


          #5
          Thanks for the quick replies. I'm not actually comparing them both. Also I'm I'm not expecting same performance in UE4 as like as CryEngine.

          I just want to make sure that my game is smooth enough and optimize to a playable performance with a nice graphics and that will do it

          As my scene is outdoor, I'll want to make it look good with dynamic lighting with some mix of distance field lightings. But this makes it slower too. Also there are issues with anti aliasing which was asked a lot of time before. I checked so many threads, articles and questions on answerhub. But didn't come to any solution Looks like everyone uses their secret techniques to optimize games and maintain visual quality.
          Intel Core i5 3470 @3.20 GHz
          Intel DB75EN
          Nvidia GeForce 760 GTX
          8GB Ram - 1 TB HDD

          Comment


            #6
            If you're gonna create an outdoor game then Directional Light and Landscape material are by far the two most expensive features you'd be dealing with.
            In your images above since you're not using any material on your landscape, most of the performance hit is coming from directional light. Try reducing the directional light shadow cascade count from 3 to 2 or 1.
            As for landscape material, when you get to it, it should be as simple as possible because material layering in UE4 is beyond expensive due to lack of many required features.
            Overdraw is also a major issue. Very dense foliage placement results in ultra high performance hit due to so much transparency. Try placing your trees with less density than you currently have.
            Artstation
            Join the support channel
            Gumroad Store

            Comment


              #7
              You should also check out this: https://www.youtube.com/watch?v=-csRxRj_zcw&t=1493s

              The engine has some real nice tools for figuring out where perf issues are coming from.

              Comment


                #8
                You should test in standalone.

                But really if you want better performance you should upgrade your GPU. You can also share your project so others can test and see their FPS.

                Comment


                  #9
                  you're also comparing a realttime-only lighting solution (cryengine) to a hybrid realtime-baked solution (UE4).
                  try something for me: set your lights to stationary (sky and directional), and set the trees to static, and bake lighting and tell me what the results of that are.

                  Visit my portfolio: jhgrace.com

                  Comment


                    #10
                    ^ That'd basically take an eternity to be baked on a single PC. That's why dynamic lighting should be improved since static lighting for open world isn't really a viable option, without a workstation to calculate it.
                    Artstation
                    Join the support channel
                    Gumroad Store

                    Comment


                      #11
                      That's right. For open world maps, dynamic lighting is only the best way to go.

                      you're also comparing a realttime-only lighting solution (cryengine) to a hybrid realtime-baked solution (UE4).
                      try something for me: set your lights to stationary (sky and directional), and set the trees to static, and bake lighting and tell me what the results of that are.
                      If I do that then it will be dynamic lighting in CE vs Baked lighting in UE. That doesn't make sense as I'm trying both with same possibilities.
                      Intel Core i5 3470 @3.20 GHz
                      Intel DB75EN
                      Nvidia GeForce 760 GTX
                      8GB Ram - 1 TB HDD

                      Comment


                        #12
                        Bro id you say that 120 fps is too low, try playing stuff on my pc at 20 fps.

                        Comment

                        Working...
                        X