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 Light Bleed Through Ceiling at Angles

I have encountered this issue many times before, but with the static lighting that was possible in those scenarios I was able to work around it - however in this project the entire playspace is dynamically generated and so is not work-aroundable. I have a room that is randomly generated, with a ceiling on top of it. At certain angles and as you get closer and closer to the edges of the mesh, bits of the mesh seems to stop blocking the dynamic directional light, and light bleeding occurs to an extreme extent that eventually - at the very edges of the room - completely ignores the roof and all light goes right through. (Please see below) alt text alt text alt text

I've tried all possible things I can think of including; setting two sided, increasing height of ceiling, increasing shadow resolution (which of course isn't even practical in games where people have low-powered PCs), and many other things - however none even help in stopping the bleeding.

Any help would be greatly appreciated.

Product Version: UE 4.12
more ▼

asked Jun 17 '16 at 11:34 AM in Rendering

avatar image

Oscar Cooke-Abbott
537 54 59 71

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Try to keep Dynamic Shadow Distance Movable in sun's settings as short as possible.

When you expand 2nd tab in sun's options (Light), there is a Shadow Bias setting. Try to experiment with that.

If nothing helps, you could model the wall modules so perpendicular polygons intersect themselves a bit.

more ▼

answered Jun 17 '16 at 07:01 PM

avatar image

Oskar Świerad
378 13 28 28

avatar image Oscar Cooke-Abbott Jun 17 '16 at 11:05 PM

I've actually already got bias at 1 - I've tried intersections and they also don't help much - and I need to keep the light's distance quite large as the randomly generated area in which the player plays can get quite large.

avatar image Oskar Świerad Jun 18 '16 at 07:59 AM

I see. Maybe it's a stupid idea but... how often do you need sunlight here? If modules with windows are scarce, it can help to use a spotlight outside each windows instead :)

avatar image Oscar Cooke-Abbott Jun 18 '16 at 08:10 AM

As each cardinal side of the office floor is glass I need to use a directional light (also because there will of course be other buildings outside the windows - and regardless, there should be a way to fix it.

(comments are locked)
10|2000 characters needed characters left
Your answer
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