Announcement

Collapse
No announcement yet.

Engine Features Preview 1/22/2015

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

    Engine Features Preview 1/22/2015

    We’re excited to share a few of the new features now available on the Master branch on GitHub. To be able to try out these new features, you will need to download the source code for the Master branch and build the Engine yourself. For more information about how to build the Engine from source code, please see this page. The Master branch on GitHub is constantly being updated and is not quality tested so it may be potentially unstable. We do not recommend using the Master branch for project development. If you wish to wait, these features will be made available to all in an upcoming official release.

    Engine News

    New Features

    C++ Classes are now visible in the Content Browser

    The Content Browser now has a new folder for your game’s C++ Classes! You can create new classes and Blueprints by right clicking, or double-click to jump straight to the C++ source code.

    This shows all C++ classes in your game that are visible to the editor (any “UCLASS”.) These new root folders host the available C++ modules for your project, with each module folder mirroring the source code layout on disk.



    With a C++ folder selected, the "Add New" button can be used to create a new C++ class.



    The right click menu for classes allows you to easily create a new derived class



    Adding a new C++ class will automatically “hot reload” the code and display the new class in the browser. You can start using it in the editor right away!

    Should you prefer to handle building and loading your modules manually, you can disable the automatic hot-reload via "Editor Settings" -> "Miscellaneous" -> "Hot Reload" -> "Automatically Hot Reload New Classes".

    Note that you can also display built-in "Engine C++ Classes" by toggling the “Show Engine Content” option in the Content Browser’s View Options drop-down menu.

    New Diffuse Shading Model

    We just switched our shading model to use a more accurate diffuse model. Previously we were using Lambert diffuse which reflects the same constant color in all directions. It is very simple and has been used in CG for a long time. It is not that physically accurate but is very cheap. For a small cost we can do better. The new model is an energy conserving Burley diffuse model.

    This more accurately models:
    Diffuse flattening that happens with rougher surfaces. The moon looks like a disk instead of a sphere because it is extremely rough.
    Retroreflection which is brightening of diffuse at glancing angles for rough surfaces
    Energy conservation between diffuse and Specular, which makes glancing reflections more realistic. Notice the edges of smooth surfaces do not seem to glow anymore.

    Overall the balls appear to have a more even brightness over the roughness range and roughness has a more visible impact at higher values than before. Before it only affected specular.

    Old


    New
    Attached Files
    Last edited by Stephen Ellis; 02-02-2015, 12:03 PM.
    Adam Davis | Marketplace Support | Epic Games
    How to report a bug? | Installation & Setup issues? | Answerhub Bug Reports | Twitter

    #2
    Hell yes, it's really good to see that there is further disney-inspired improvements coming to the renderer. Do you have any estimation on when diffuse cubemap lighting will work properly, as it probably will further push the quality bar, especially on very rough materials.

    Comment


      #3
      A few questions regarding the C++ content:

      1. The screenshot now shows content being split into "C++ Classes" and "Content". Is this a new way of displaying folders or is that just the particular folder structure of that project?
      2. If it's the former, the C++ Classes folder, that's basically just the Source folder of the game?
      3. Are all classes shown in there, even those created via VS?

      I believe that's all for now...

      Comment


        #4
        Looking at that sphere comparison reminds me of an adage I once heard about how "everything has Fresnel"; nice to see it implemented automatically at the shader level.

        The difference is subtle but meaningful. At low roughness values / high reflective values I can't see a difference.

        But now I worry that this change in the default diffuse lighting methodology will break my cel shader spectacularly by creating a more realistic coloration that isn't actually desired. Lol.

        Comment


          #5


          Just to make the difference a bit clearer (Shame about GIF's artifacts!)

          Comment


            #6
            Hi there!
            As for new BRDF model - is there measurements about its cost? New model is definitely more correct, but it also costs more.
            I suppose it can be crucial for mobiles. Is there some way to enable old diffuse?

            Thanks

            Comment


              #7
              The c++ addition presents a new and exciting workflow. It sounds really cool, Great work!
              W3 Studios

              Comment


                #8
                You guys should really do a preview of the unified blueprint editor, I'm loving it! Also the new icons for all the different blueprint types is nifty. Its much easier to see one type of Blueprint over another making visually looking for a file much easier! Keep up the good work!

                Comment


                  #9
                  Originally posted by Trojke View Post
                  You guys should really do a preview of the unified blueprint editor, I'm loving it! Also the new icons for all the different blueprint types is nifty. Its much easier to see one type of Blueprint over another making visually looking for a file much easier! Keep up the good work!
                  What is this you speak of???? I must know

                  Comment


                    #10
                    Wasn't UE4 using GGX before, so does this mean GGX is out in favour of Burley diffuse model?
                    TOUR of DUTY

                    Comment


                      #11
                      UE4 was using lamber as diffuse shading.
                      https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

                      Comment


                        #12
                        Ggx specular, lambertian diffuse. Now we're in sync with Pixar, as far as I know they use ggx also.

                        Comment


                          #13
                          No one knows about the new C++ stuff? Reposting for bump.

                          Originally posted by DamirH View Post
                          A few questions regarding the C++ content:

                          1. The screenshot now shows content being split into "C++ Classes" and "Content". Is this a new way of displaying folders or is that just the particular folder structure of that project?
                          2. If it's the former, the C++ Classes folder, that's basically just the Source folder of the game?
                          3. Are all classes shown in there, even those created via VS?

                          I believe that's all for now...

                          Comment


                            #14
                            Originally posted by DamirH View Post
                            1. The screenshot now shows content being split into "C++ Classes" and "Content". Is this a new way of displaying folders or is that just the particular folder structure of that project?
                            It is the new way to display folders.

                            Originally posted by DamirH View Post
                            2. If it's the former, the C++ Classes folder, that's basically just the Source folder of the game?
                            Correct.

                            Originally posted by DamirH View Post
                            3. Are all classes shown in there, even those created via VS?
                            As far as I can see, it only shows UObjects like Actors, so no "pure" C++ classes or structs.
                            Particle Editor Extension: Marketplace Page | Documentation
                            Code plugin which extends your particle effect toolbox with new possibilities.


                            SVG Importer Plugin: Marketplace Page | Gumroad Page
                            Import SVG (scalable vector graphics) files as rasterized rendering or as multi-channel signed distance field.

                            Comment


                              #15
                              Originally posted by DamirH View Post
                              1. The screenshot now shows content being split into "C++ Classes" and "Content". Is this a new way of displaying folders or is that just the particular folder structure of that project?
                              2. If it's the former, the C++ Classes folder, that's basically just the Source folder of the game?
                              We show multiple "C++ Classes" folders, one for your project (shown as "Game C++ Classes" in that screenshot, but will just be called "C++ Classes" on release), one for the Engine ("Engine C++ Classes"), and then one for each plugin that has code (eg, "Paper2D C++ Classes").

                              Each of these contains folders for any modules that belong to that category (you can't really tell that in the screenshot as ShooterGame only has one module with UObject-based classes), and then each of these module folders mirror that modules layout on disk.

                              Originally posted by DamirH View Post
                              3. Are all classes shown in there, even those created via VS?
                              It currently only shows UObject-based classes, so you'll only see classes tagged as UCLASS.

                              Comment

                              Working...
                              X