Announcement

Collapse
No announcement yet.

Foliage Ugly Shading - Bright or Dark in Weird Places

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

    Foliage Ugly Shading - Bright or Dark in Weird Places

    Hello! This is my last resort...

    I have a forest scene using megascans for the foliage. The foliage (especially the grass) in my scene has a shading problem.

    You can see the shadows on the foliage (most noticeably the grass) is dark or light in places that don't make sense.

    Maybe I should note that this particular screenshot is in a shady area. But the problem persists even in the direct sunlight

    I've included screenshots of all my settings for the mesh, material, light, skylight, foliage tool, etc., as well as screenshots of the above view with different viewing settings. The thing that jumps out to me the most is the shading on the Lighting Only view, especially the difference in Play Mode and in Edit Mode. (The picture on the top is in Edit Mode, and the one on the bottom is after I hit Play)

    Click image for larger version  Name:	image_152781.jpg Views:	2 Size:	192.6 KB ID:	1556286

    I also included pictures of a test I did that shows the grass in shadow and light with different lighting settings, with instanced foliage and with static mesh.

    There are 20 photos total with specific notes/names on every one of them. I've tried to be as specific and detailed as I can through the pictures.



    Thank you in advance. I've been trying to fix this for several days and can't find anything on the forums that helps with this.
    Attached Files
    1 - Foliage Material Setup 2 - Directional Light Settings 1 3 - Directional Light Settings 2
    Last edited by Penguinburger1; 11-26-2018, 08:14 PM.

    #2
    I would increase the SSS Amount/Multiplier

    Comment


      #3
      Originally posted by techtuts View Post
      I would increase the SSS Amount/Multiplier
      Thanks for the reply!

      I've included a picture that shows the results are no different with or without a translucency map, so the amount of the SSS doesn't affect it. And that's something I've tried before :/

      Comment


        #4
        Originally posted by penguinburger1 View Post

        Thanks for the reply!

        I've included a picture that shows the results are no different with or without a translucency map, so the amount of the SSS doesn't affect it. And that's something I've tried before :/
        I would still try a high multiplier, quite often the translucency map is too dark (example https://imgur.com/a/q5w6mMP)

        Comment


          #5
          Originally posted by techtuts View Post

          I would still try a high multiplier, quite often the translucency map is too dark (example https://imgur.com/a/q5w6mMP)
          Thanks, but it still doesn't fix the spotty black areas. Here is a picture of my translucency multiplied at a higher value (any more and it turns neon and obviously too much!)

          Comment


            #6
            Hey Penguinburger, Have you tried disabling the Vertex Color node from the AO? If that doesnt work, can you check out this post? https://answers.unrealengine.com/que...-in-grass.html

            Comment


              #7
              Originally posted by DannyManPc View Post
              Hey Penguinburger, Have you tried disabling the Vertex Color node from the AO? If that doesnt work, can you check out this post? https://answers.unrealengine.com/que...-in-grass.html
              Thanks for the reply DannyManPc ​​​​​. I just tested both of those things and baked but got no changes. :/

              Comment


                #8
                Could it be because the skylight is too high? The problem was visible in the test build (included in the photos on the first post) when I turned up the intensity of the skylight, but I don't have it set to anything ridiculous. If I set it back to 1.0, you can hardly see a thing in the shadows.

                Comment


                  #9
                  Bringing the skylight intensity down only hides the issue... I can't have my scene that dark.

                  Comment


                    #10
                    Have you used Bridge to import the MegaScans assets, or did you manually import them from a 3D Package (Maya, Blender, 3DsMax)? If so, perhaps the Normals are Locked, and you might need to unlock them in the 3D Package and re-smooth the edges... Just thinking along ...

                    Comment


                      #11
                      Did you edit the normals of the planes? I.e. do the cards have normals directly sideways?
                      I had exactly this visual and fought it by editing the normals to point upwards to some degree
                      http://wiki.polycount.com/wiki/File:...attributes.jpg

                      Comment

                      Working...
                      X