Announcement

Collapse
No announcement yet.

Why is there more light leaking during play?

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

    Why is there more light leaking during play?

    I have a small island static mesh (lightmap resolution 512) into which I've driven a small palisade mesh.
    I'm baking lighting with production settings.
    When I Play In Editor, I see a significant amount of light leaking onto the island below the palisade.
    In the editor view, there's not nearly as much.
    Also, the island is very small, a 512 lightmap resolution should be sufficient to avoid this leak.
    As you can see in the editor screen shot, the palisade is actually driven into the island, and has some thickness, so there should be no peter panning.

    What am I doing wrong?

    Play-in-editor screen shot:
    Click image for larger version

Name:	ue-palisade-lightmap-1.jpg
Views:	1
Size:	244.7 KB
ID:	1135279
    The problem palisade is at the top center of the image, right above the boat.

    In-editor screen shot (you can see the palisade penetrating the island here):
    Click image for larger version

Name:	ue-palisade-lightmap-2.jpg
Views:	1
Size:	279.7 KB
ID:	1135280

    #2
    Some more information: If I unhook the camera and zoom in/out, the problem goes away / comes back. Thus, the problem seems to be LOD or MIP maps for the light maps.
    However, the light maps are not sampled anywhere near 1:1 with screen pixels, so there's some kind of bias going on here.
    Where can I adjust this lightmap bias?

    Comment


      #3
      I believe that the PIE and the editor use different render settings to some extent. I'm not sure how to fix the specific issue you are seeing, but that may explain the difference at least.
      Trevor Lee

      Comment

      Working...
      X