Announcement

Collapse
No announcement yet.

New Sky/Atmosphere model in 4.24

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

    New Sky/Atmosphere model in 4.24

    Hi,

    I've just downloaded 4.24 preview as I was very excited about the new physically based sun/sky/atmosphere model but so far I am very disappointed.

    1. I don't seem to be able to reach any exposure setup where the new sky model becomes anything else than pitch white

    2. When I lower directional light intensity to acceptable range, the sky becomes visible but any ground below horizon is completely pitch black. Lower hemisphere settings of skylight have no effect on that whatsoever.

    3. When I read that the new model is more physically based and at the same time easier to setup, I was very excited to see something like very popular Hosek & Wilkie physical atmosphere model. That is unfortunately not the case.
    Click image for larger version  Name:	Annotation-20191106-213340.jpg Views:	0 Size:	64.3 KB ID:	1683538
    Instead, the implemented model contains excessive amount of granular controls populated with quite arbitrary values which have been somewhat eyeballed to get close to earths atmosphere model. This is definitely not going to be a pleasure to work with.

    EDIT:
    5. Such a crucial functionality as a much better sky and atmosphere model should definitely not be hidden away as an obscure plugin which is not even enabled by default. In fact, it should be possibility to use the new sun and sky model even without the bulky positioner blueprint, and I'd go as far as to say it should replace current, cartoony sky model which is by default created in empty new levels.
    Last edited by Rawalanche; 11-06-2019, 05:01 PM.
    https://www.artstation.com/artist/rawalanche

    #2
    Did you try using it from the Sun and Sky actor?
    From the preview notes:
    Sun and Sky Actor. We modified the existing Sun Positioner plugin to wrap a directional light, a sky light, and the newly introduced Atmospheric Sky created by the rendering team. The goal is to provide a workflow similar to the HDRI Backdrop actor added to 4.23, where users are provided with self contained functionality into a single actor.
    Freelancer Game Dev Generalist and Unreal Consultant | Portfolio
    Unreal products: Dynamic Picture Frames, Neo Kinect

    Comment


      #3
      Originally posted by RVillani View Post
      Did you try using it from the Sun and Sky actor?
      From the preview notes:
      Yep. In fact that's the only way to use it. I should add it to the list of complaints
      https://www.artstation.com/artist/rawalanche

      Comment


        #4
        Hi,

        I need to give you some background on this prior to answer individual points below.

        The SunSky positionner is a plugin that was added in Unreal in 4.21. It lacked of proper shading technology (physical sky). In this release, this has been added to it in the form of extra components that can be used individually. The main use case is for Architecture where maintaining a notion of physically correct values for lighting, camera EVs and material parameters is a recommended practice.

        From the comments i read below it seems that you are starting from a project template that isn't right for that type of use case and hit all the roadblocks that are solved by the Architectural Visualization project templates. I'll get to that below.

        Originally posted by Rawalanche View Post

        1. I don't seem to be able to reach any exposure setup where the new sky model becomes anything else than pitch white
        In project settings, enable the following options:

        Enable Extend default luminance range in Auto Exposure = true
        Apply Pre-Exposure before writing to scene color = true

        That will allow lights to go from low to very high ranges.

        Originally posted by Rawalanche View Post

        2. When I lower directional light intensity to acceptable range, the sky becomes visible but any ground below horizon is completely pitch black. Lower hemisphere settings of skylight have no effect on that whatsoever.
        The lower part of the sky hemisphere is usually done by an exponential height fog that should be added separately to the scene which isn't part of the Sun Positioner plugin.

        Originally posted by Rawalanche View Post


        3. When I read that the new model is more physically based and at the same time easier to setup, I was very excited to see something like very popular Hosek & Wilkie physical atmosphere model. That is unfortunately not the case.

        Instead, the implemented model contains excessive amount of granular controls populated with quite arbitrary values which have been somewhat eyeballed to get close to earths atmosphere model. This is definitely not going to be a pleasure to work with.
        This is not the Hosek & Wilkie but still physical. Its using a derived version of the Bruneton sky which has several advantages over the Hosek & Wilkie. Its not something that was defined arbitrarily as you imply. The parameters are different (and more extensive) but it doesn't means is physically incorrect because of that.

        Originally posted by Rawalanche View Post

        5. Such a crucial functionality as a much better sky and atmosphere model should definitely not be hidden away as an obscure plugin which is not even enabled by default.

        In fact, it should be possibility to use the new sun and sky model even without the bulky positioner blueprint, and I'd go as far as to say it should replace current, cartoony sky model which is by default created in empty new levels.
        We have hidden the Sun Positionner plugin in Unreal by default but enabled it when using the project templates dedicated to Architectural Vis. However you don't need to use that plugin to use the new Sky shader. Just add a Sky Atmosphere actor from the Visual Effects category and you have it.
        Pierre-Felix Breton

        Sr Technical Product Manager AEC, Unreal Engine Enterprise
        Epic Games - LinkedIn

        Comment


          #5
          Originally posted by pf_breton View Post

          The lower part of the sky hemisphere is usually done by an exponential height fog that should be added separately to the scene which isn't part of the Sun Positioner plugin.
          This is very confusing. Let's say I want to use it to light an interior. If there's only half the environment, then the illumination is just not right. Ceiling receives no lighting. Exponential height fog doesn't seem like a right solution. Can it be as efficiently sampled as regular solid color environment? Also, why is there a ground albedo color swatch then? There's a difference between simulating sky model at undefined altitude and providing some way to define ground albedo as an "average color" of the surrounding environment, such as gray for city or green for forests. Putting a giant plane below scene is less efficient in terms of both prebaked and realtime light transport, and fog probably too.

          As for the templates, yes, I am not starting from any archviz templates. I want to use this for games primarily, not for archviz. Archviz templates mostly add just junk for beginners. That still doesn't mean something like setting up physical sky should be a multi step process which involves turning on some obscure knobs in the project settings. It's not a hard thing to set up in unity, it should not be a hard thing to set up in Unreal
          https://www.artstation.com/artist/rawalanche

          Comment


            #6
            When you make a new level from a Games blank template, you will get what you want:

            https://www.screencast.com/t/MR6EGOsgb
            Pierre-Felix Breton

            Sr Technical Product Manager AEC, Unreal Engine Enterprise
            Epic Games - LinkedIn

            Comment


              #7
              Originally posted by pf_breton View Post
              When you make a new level from a Games blank template, you will get what you want:

              https://www.screencast.com/t/MR6EGOsgb
              Ah, did not notice that. Alright. How about the concerns about missing ground color. Is "you have to use fog for that" the final answer?
              Last edited by Rawalanche; 11-07-2019, 04:48 PM.
              https://www.artstation.com/artist/rawalanche

              Comment


                #8
                Originally posted by pf_breton View Post
                When you make a new level from a Games blank template, you will get what you want:

                https://www.screencast.com/t/MR6EGOsgb
                Hi, just a reminder you still haven't answered my question about new Sky model ground color. The "use exponential fog" is not really a satisfying answer, as it opens a big bag of more questions. There are several issues:
                1. The new sky model is advertised as a complete sky model solution, yet the default SunSky blueprint comes without any fog component inside, resulting in black area below horizon, resulting in unacceptable results when lighting most of the scenarios. Therefore it does not work out of the box.
                2. Successful use of the new sky model requires knowledge of many obscure knobs which are configured to not work out of the box. Aside those mentioned by you (Enable Extend default luminance range in Auto Exposure = true and Apply Pre-Exposure before writing to scene color = true), there seems to be also yet another knob called "Support Sky atmosphere affecting height fog", which requires lengthy, project-wide shader recomplie. This is a ridiculous amount of steps necessary to take to get something as simple as a complete sun & sky model going, compared to traditional DCCs. It should not require such obscure knowledge. This is definitely not "easier to set up" as advertised.
                3. Exponential height fog is a fog model, not a solid surface approximation mode. When introduced to scene, it causes excessive fogging around the sun disc while doing absolutely nothing to help you specifically define color of the solid surface below horizon. Yes, it does make it non-black, but no, it does not allow you to define specific color. You can push some settings to the extremes to get close, but that also severely affects the areas above the horizon, radically changing the look of the sky. "Use exponential height fog" is NOT an answer to the issue of the current model's inability to specify approximate average color of the solid planet surface.
                4. Furthermore, even if the Exponential Height Fog worked as a means of specifying the ground color, it would still be way more difficult to set up and use, because now the complete sky atmospheric model would be controlled by over 40 interdependent parameters fractured between two separate objects/components.
                  Click image for larger version  Name:	settingmess.jpg Views:	0 Size:	114.7 KB ID:	1686967




                  There is just no possible chance anyone who does not do atmospheric optical properties research for living could make proper use of such a fragmented set of parameters.
                5. For comparison, this is a set of parameters for physical sky atmosphere model used in an average offline renderer:
                6. Click image for larger version  Name:	HosekSky.jpg Views:	0 Size:	15.0 KB ID:	1686970
                7. Sure it's overly simplistic for use in a game engine as game folks will want to simulate other planets than earth, but still, current Unreal's model goes far into opposite extreme.
                All in all, while the current model seems to do a lot, it fails in terms of usability, and I will be very surprised if users turn out to be able to use it properly. At this point it's so confusing that while users will be able to take advantage of it, it will rarely be in the way it was designed for, and quality of their artwork will significantly suffer from it. I am already preparing for the heaps of UE4 archviz interiors lit by sky model completely missing any illumination on the ceiling, and users creating "why doesn't it look like Vray" threads...


                Anyway, to provide solutions instead of just complaining, it would be enough if already present "Ground Albedo" parameter in the Sky Atmosphere component defined (perhaps optionally) solid color below horizon instead of pitch black. This would remove necessity to introduce any other atmosphere objects in the scene with it's own set of complicated parameters.
                Last edited by Rawalanche; 11-14-2019, 06:49 AM.
                https://www.artstation.com/artist/rawalanche

                Comment


                  #9
                  Originally posted by Mike_Kennedy
                  I have a laptop that has a single Control Key. On the left side. So my actual fingers can't reach. Then with my wife helping and holding the Left Cntl while I watch the stupid directional line whip around. so fast that i can't see the changes. I really really hope this is me doing something wrong , this a UI is terrible. Hot mess terrible. New features need testing. But while not an expert, the UI is bad and impossible on on any 13 inch laptop with a single Control key. So most of the Surface Books and Surface Laptops.
                  Sorry to be harsh, but I was frustrated and still am trying to use this WIP Tool.

                  Is there a feedback link for this plugin? I'll look for one or start it.
                  Thanks
                  Mike
                  How is that related to this thread...?
                  https://www.artstation.com/artist/rawalanche

                  Comment


                    #10
                    Originally posted by Mike_Kennedy
                    Difficulty of use over all. I'll move to another thread if needed, Let me know.
                    Yes, you should please. This is thread specifically about a new 4.24 feature of a new physically based sky atmosphere model. Yes, it has UI/usability issues, but ones specific to this feature, not those related to general UE4 UI/usability.
                    https://www.artstation.com/artist/rawalanche

                    Comment


                      #11
                      Bump. Is this really going to stay in such a poor state up until final 4.24 release?
                      https://www.artstation.com/artist/rawalanche

                      Comment


                        #12
                        pf_breton Two questions:

                        1. By default the color of the height fog doesn't seem to be driven by the sky atmosphere, anything in particular I have to set up to make it work?
                        2. I tried to simulate a planet's atmosphere but I'm running into issues (off center/sorting). Any ideas?

                        Thanks!
                        Attached Files
                        ArtStation

                        Comment


                          #13
                          Originally posted by The_Distiller View Post
                          pf_breton Two questions:

                          1. By default the color of the height fog doesn't seem to be driven by the sky atmosphere, anything in particular I have to set up to make it work?
                          There is a project setting that enables Height Fog to be affected by the sky atmosphere. I can't recall the exact name, but if you search "Sky Atmosphere" you'll find it easily.

                          Then in the Sky Atmosphere component's properties, use the "height fog contribution" property to scale its effect.
                          Tim Hobson | Learning Resources | Epic Games
                          UE4 Documentation

                          Comment


                            #14
                            Originally posted by The_Distiller View Post
                            pf_breton Two questions:

                            1. By default the color of the height fog doesn't seem to be driven by the sky atmosphere, anything in particular I have to set up to make it work?
                            2. I tried to simulate a planet's atmosphere but I'm running into issues (off center/sorting). Any ideas?

                            Thanks!
                            the component uses world 0 as its sea level, so if you had a 800km ground radius and a 1km static mesh sphere, then you have to move the mesh down by -800km and scale it up by 1,600 km to match radius.
                            There does seem to be a obvious POP when it switches to fast distant sky rendering from aerial/ ground view. when its in the ground view the atmo border is very obvious. You can use "r.SkyAtmosphere.AerialPerspectiveLUT.Depth " with some big number like 256 to blend it better, the number you use will depend on your planet size
                            Aerial samples seem to get distributed based on atmo height and Rayleigh Exponential distribution, greater the height the more noticeable the depth stepping "r.SkyAtmosphere.AerialPerspectiveLUT.DepthResolution " will increase the res.

                            Click image for larger version  Name:	Capture.JPG Views:	0 Size:	57.0 KB ID:	1691641
                            Last edited by Rareden; 11-26-2019, 10:02 PM.

                            Comment


                              #15
                              Tim Hobson Even with the project setting checked, it doesn't seem to be working.
                              Rareden Thanks for the tips, the planet is centered now.
                              Attached Files
                              Last edited by The_Distiller; 11-27-2019, 11:26 PM.
                              ArtStation

                              Comment

                              Working...
                              X