Announcement

Collapse
No announcement yet.

4.13 Released!

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

    #61
    if you visualise the cascade frustums, they all are nested inside eachother and just move depending on the viewing direction - that's pretty bad yo.
    regardless of the viewing angle the cascades never leave eachother's bounds, the largest bound contains all of the smaller ones completely
    That's not the case, larger cascades are not placed to contain smaller cascades. However, with a large camera FOV which is typical, the texture mapped to the larger cascade can end up encompassing the smaller cascade. Object culling on the CPU is still using the non-overlapping bounds of the cascade. Objects only have to be drawn into multiple cascades if they are actually affected by multiple cascade depth ranges. Have a look at GetShadowSplitBounds().

    The image you posted looks like clipmaps which aren't view direction dependent at all, unlike cascades, so it's completely unrelated.

    Comment


      #62
      s there a reason why you can't do so for sky and directional lights? Also the lights require to be set to dynamic in order for cached shadowmaps to work. Might it not be an idea to have all lights set to static and only have specified objects cast cached dynamic shadows instead?
      Directional light shadowmaps (CSM) are view dependent and require a complex scrolling approach to properly cache them. Plus directional light shadows are often combined with WPO animated foliage which can't be cached, so it's lower in priority.

      Skylights don't use shadowmaps.

      Comment


        #63
        Originally posted by DanielW View Post
        Directional light shadowmaps (CSM) are view dependent and require a complex scrolling approach to properly cache them. Plus directional light shadows are often combined with WPO animated foliage which can't be cached, so it's lower in priority.
        What about just making it so that the WPO animated foliage would be cached too, so the shadow would just not 100% fit the foliage to save performance? That's what I would prefer. I want to save as much performance as possible and shadows are really expensive, especially in VR, so cached directional lights would be very nice to have. The best other alternative is often to just disable shadows completely, and thats definitely more ugly than a shadow that might not 100% fit WPO animated stuff.
        Easy to use UMG Mini Map on the UE4 Marketplace.
        Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

        Comment


          #64
          Hello,

          I tried importing an Alembic file but it resulted in a crash. I have posted the details on AnswerHub:
          https://answers.unrealengine.com/que...ort-crash.html

          Any ideas how to resolve this? What format are you expecting the Alembic file to be written as? What I mean is how is your loader expecting the vertices, points and uvs named in the alembic file? Is there any structure it expects?

          Thanks!

          Comment


            #65
            new Preview Scene Settings panel

            Hello,

            where and how I can get new "Preview Scene Settings panel" to work with?

            thanks
            regards

            Comment


              #66
              Anyone else feel like this is abit in the future ?

              Comment


                #67
                Originally posted by kestrelm View Post
                Hello,

                I tried importing an Alembic file but it resulted in a crash. I have posted the details on AnswerHub:
                https://answers.unrealengine.com/que...ort-crash.html

                Any ideas how to resolve this? What format are you expecting the Alembic file to be written as? What I mean is how is your loader expecting the vertices, points and uvs named in the alembic file? Is there any structure it expects?

                Thanks!
                I've reported and responded to your post with the information you provided and what I found while working with your asset.
                Tim Hobson | Learning Resources | Epic Games
                UE4 Documentation

                Comment


                  #68
                  Originally posted by Bimbachi View Post
                  Hello,

                  where and how I can get new "Preview Scene Settings panel" to work with?

                  thanks
                  regards
                  You should see a tab in the Static Mesh Editor next to the Details Panel that allows you to set all the scene's settings. If you don't see it, you can go to Window > Preview Scene Settings to enable it.
                  Tim Hobson | Learning Resources | Epic Games
                  UE4 Documentation

                  Comment


                    #69
                    Originally posted by DanielW View Post
                    Directional light shadowmaps (CSM) are view dependent and require a complex scrolling approach to properly cache them. Plus directional light shadows are often combined with WPO animated foliage which can't be cached, so it's lower in priority.

                    Skylights don't use shadowmaps.
                    Crytek also noticed the view dependency makes caching harder, so they made cascades aligned to light space, at the price of wasting texels:
                    Playing with Real-Time Shadows, Page 55, http://www.crytek.com/cryengine/pres...l-time-shadows

                    Comment


                      #70
                      Hi all,

                      I've just released the Plastic SCM plugin 0.8.1 beta release for this new UE 4.13.

                      Enjoy the shinny 4.13!
                      [Gamedev programmer at Darewise (Paris) - We are hiring]
                      UE4 Git LFS 2.x Source Control Plugin 2.14-beta for UE4.23 - (v1 integrated by default since UE4.7)
                      UE4 Plastic SCM Source Control Plugin 1.4.6 for UE4.23 - (integrated by default in Beta status since UE4.24)

                      Comment


                        #71
                        Well, they certainly seem to be nested, here's the worst case scenario of wasted shadowmap / distribution, when the light is directly shining down 90 degrees, looking at the horizon and then using the freeze camera command and show frustums along with visualising the whole scene shadowmap, it has a lot of overlap considering it should be spreading them out further.

                        Those cascade distributions are *totally* correct, 90 fov and they are all nested inside (that is froze from when I looked at the horizon while the dir light is 90 degrees pointing down) and it's wasting so much shadowmap space by nesting them like that, they should barely overlap just so the transition area is covered.

                        Wasteful, so I hope it'll be fixed, pretty please

                        Changing the maximum distance doesn't change the distribution either, it just scales the closest cascade up.



                        It's pretty bad when you really dig into it, because it doesn't work how it should at all... Why at 20K units are cascades being clamped? The distribution exponent doesn't work how it should, at least, I would think that it should affect the cascade distribution in the range, not relative to distance from the camera like it seems to at the moment. When the max distance is below the magic number which is around 5000, where the blue cascade stops growing past that distance, the whole distribution is broken.

                        Those orthographic boxes shouldn't be nested like they are right now, Crytek said about wasting texel space to afford cached CSM, but this method right now is wasting the most.

                        was froze with 36 fov, it looks like it's actually working in that photo how it's meant to, so basically, someone did something wrong because there's no reason it shouldn't spread them further like that at 90 fov, no reason at all really...
                        Last edited by Legend286; 09-02-2016, 08:39 PM.

                        Comment


                          #72
                          Not really a bug. Unable to build 4.13 from the source zip file as AutomationScripts.Automation are missing references to GUBP.Automation, Localization.Automation and OneSkyLocalization.Automation.
                          The preview builds have these references in the DotNET folder. I'm going to delete the fold and try again - perhaps the download screwed up?

                          Comment


                            #73
                            In the static mesh editor, the highlight material checkbox does not work on Mac OS X (i.e. the part of the mesh with the corresponding material is not highlighted). Shall I enter a answer hub, or this has been already reported?
                            Thanks!

                            Comment


                              #74
                              sketchup fbx import to UE 4.13 not make auto Generate lightmap UVs are Issues or only me?
                              Last edited by geohow; 09-03-2016, 11:27 AM.

                              Comment


                                #75
                                thank you

                                Originally posted by Tim Hobson View Post
                                You should see a tab in the Static Mesh Editor next to the Details Panel that allows you to set all the scene's settings. If you don't see it, you can go to Window > Preview Scene Settings to enable it.
                                thank you .......................
                                Last edited by Bimbachi; 07-26-2017, 11:39 AM.

                                Comment

                                Working...
                                X