x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Dynamic Lighting Problem - light falls through walls

Ok so here is the deal. I have this problem and I created a fast test map to show it. Basically, I made a room out of 6 boxes. Room is perfectly closed. there is no space between the boxes. I set up 1 point light and 1 spotlight OUTSIDE the room. Now get the camera inside the room and you will see, that the light for some reason reaches inside through the walls on the edges of the room.

Here are the screenshots. I'm new to lighting and I have no idea what am I doing wrong.

Outside box

Inside box

Product Version: UE 4.20
Tags:
outisdebox.png (930.7 kB)
insidebox.png (412.6 kB)
more ▼

asked Jan 10 '19 at 10:07 PM in Rendering

avatar image

Pablo1517
31 2 8 10

avatar image ZoltanE Jan 11 '19 at 07:17 AM

Are the walls static or dynamic?
Is the light static, stationary or dynamic?
Are you using lightmaps? If so, have you recalculated lightmaps and have you tried increasing lightmap resolution? Are the lightmap UVs of the meshes decent?
Does this happen with an actual, properly modeled box?
Are you using distance field based shadows?
What are the shadow settings for the light?

avatar image Pablo1517 Jan 11 '19 at 12:57 PM

Lights are dynamic, as said in the very topic title... Everything else is static. Lights are dynamic so I believe lightmaps are not needed, but anyway these are boxes right our of engine, so I assume they have generated lightmaps all right.

avatar image ZoltanE Jan 11 '19 at 01:16 PM

On the second image there is the "Preview" text in the top left corner that's why I was wondering.
In any case I quickly set up a similar scene and saw no light leaking. Try pasting the following into a new map:
link text

avatar image Pablo1517 Jan 11 '19 at 04:59 PM

Your map after pasting seems to be working correctly, is there something you did with the light or is it just plain light taken right out of "Modes" window, pasted into the sceene with increased intensity?

avatar image ZoltanE Jan 11 '19 at 05:03 PM

Its all pretty much default settings as far as I remember. (Small yellow U shaped arrows indicate changed properties, if any.)

avatar image Pablo1517 Jan 11 '19 at 05:07 PM

Its weird, after making another map and pasting it again there actually is some bleeding againalt text

sdsd.png (27.6 kB)
avatar image ZoltanE Jan 12 '19 at 03:11 PM

Could you create and share an example project which showcases the issue?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question