Announcement

Collapse
No announcement yet.

Proven method to reduce light-map problems via Blender?

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

    Proven method to reduce light-map problems via Blender?

    Does anyone know of a proven method/workflow to reduce light-map problems of Blender-exported meshes?

    I have spend 2 days trying every different UV unwrapping combination, remodelling assets, changing the size/resolution of lightmaps inside UE4 & I still cannot nail down why this occurs.

    I have followed several Youtube tutorials & read Answerhub documentation. What are your thoughts?

    Click image for larger version

Name:	er1.jpg
Views:	1
Size:	213.3 KB
ID:	1149414

    #2
    Do your walls have thickness, or are they just front faces?
    What light are you using?
    Do you have a LightmassImportance volume set up?

    Comment


      #3
      Thanks for your reply -

      - This mesh has just front faces, although similar problems occur with cube-walls.
      - Just a skylight currently
      - Yes; with the default parameters

      Again - re UV-mapped the mesh, checked Answerhub & there are no common fixes that I can find to VERY strange mesh/light behaviour. How different is the 3DSmax import to UE4? Has anyone else overcome similar problems?

      Click image for larger version

Name:	er2.jpg
Views:	1
Size:	234.7 KB
ID:	1075826

      And here with the mesh with solid walls; production quality. 3 separate meshes - ceiling, walls, floor. No overlapping UV's, all lightmaps 2048 size.

      Click image for larger version

Name:	er3.jpg
Views:	1
Size:	231.3 KB
ID:	1075835

      Here again - same as previous except modified (slightly reduced) lightmass settings in World Settings as recommended elsewhere;

      Click image for larger version

Name:	er4.jpg
Views:	1
Size:	306.5 KB
ID:	1075837

      Reduced Lightmaps to 1024 each to save a bit of compiling time; reduced World Lightmass Settings by .5 just to see what would happen:

      Click image for larger version

Name:	er5.jpg
Views:	1
Size:	255.7 KB
ID:	1075838

      Doubling previously mentioned World Settings to see what would happen - yeah, don't do that.

      Click image for larger version

Name:	er6.jpg
Views:	1
Size:	321.4 KB
ID:	1075839
      Last edited by K0katu; 05-06-2015, 11:47 AM.

      Comment


        #4
        Ive had similar issues with importing from blender. I ended up using walls with thickness. Also if any of the walls overhang the other walls where they meet in the corners the light will bleed into them. Upping the lightmap resolution fixes that. For example here's what ive got from blender so far.(sorry not at my computer, only pic i have)

        https://docs.google.com/file/d/0B9vS...p=docslist_api


        Edit: if you can shoot me over the blender files ill take a look when i get off work and pull them in my scene to troubleshoot
        Last edited by Synyster999; 05-06-2015, 11:41 AM.

        Comment


          #5
          How different is the 3DSmax import to UE4? Has anyone else overcome similar problems?
          I only have that sometimes when I use objects without thickness.
          You could also try to make the material on the walls 2sided.
          Oh and another one: Do you use "Preview" or "Production" in your light built settings?

          Comment


            #6
            Thanks - I've uploaded the .blend here: https://www.dropbox.com/s/9jcyxlggo8...del.blend?dl=0 Your scene looks pretty nice by the way!

            - The current mesh in the screenshots is made with an extruded cube and has thickness.
            - All materials are 2-sided.
            - The light-build setting is set to "Production"
            Last edited by K0katu; 05-06-2015, 12:02 PM.

            Comment


              #7
              Hi K0katu, one good solution (for me works fine) is to place all around the house black shaded poligons.
              ...don't know if you have yet, but download "Xoio Berlin flat" and you'll understand what I mean
              Let us know how it goes.

              Cheers, Paolo
              Attached Files

              Comment


                #8
                K0katu, here is what i got, all default lighting

                Click image for larger version

Name:	ScreenShot00000.png
Views:	1
Size:	888.1 KB
ID:	1075856

                I imported the mesh as multiple pieces. IE i imported the interior (select in object mode in blender, export .fbx, on the left select Selected Objects, and changed the scale to 100), then the top mesh the same way. Let me know if that works on your end

                Comment


                  #9
                  Thanks for the update; Synyster999 that's exactly my workflow also. Can I ask -

                  - did you alter the UVmaps at all inside Blender before you exported?
                  - what specific light-quality-build and lightmap size did you use? It looks so clean!

                  Paolo - thanks I'll check out the demo now.

                  Side noob question - is the orange feel of my images the ambient light reflecting from the surface of the floor? How can I reduce that effect?

                  Comment


                    #10
                    Yea the orange color is most likely from the light bouncing off the floor. I used a post processing volume in my scene and tweaked the indirect lighting color and scene tint to fix it a little.

                    The only things i did was up the lightmap resolution to 1024 i believe because it is a large mesh. Bit that was because the shadows were blocky, i didnt have any issues with edge bleeding even at 64. You also had 2 uvuvmaps in blender, so i deleted the second one and let unreal generate the lightmap. Also i built at production level, preview and medium level gave me shadow artifacts but no light bleeds

                    Side note: did you start your level from scratch or build it from one of epics examples? I ask because at first i was using the default third person blueprint level but couldnt get my lighting where i wanted it to be. So i made a new blank level and havent had issues since
                    Last edited by Synyster999; 05-07-2015, 07:27 AM.

                    Comment


                      #11
                      Thanks for you help - I seem to be getting somewhere with a much better result now. All I did was re-created the external blocks as per the Berlin Flat - I also made the other tweaks mentioned in this thread.Click image for larger version

Name:	er7.jpg
Views:	1
Size:	178.8 KB
ID:	1075884

                      Comment


                        #12
                        Glad to hear!

                        Comment

                        Working...
                        X