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"

Directional Light angle appears offset when lighting landscape

Here's my setup:

  • Tiled landscape imported from world machine using world composition.

  • 1 directional light set to moveable and rotated via a blueprint. It's set to 2 sided and has a 2 sided material.

The issue:

The directional light seems to be lighting the landscape from noon to midnight. This occurs when dragging the rotation manually in the editor as well.

Here is a video showing the issue: https://www.youtube.com/watch?v=8dMR7TSuEsc&feature=youtu.be

Note: When lighting the first person shooter sample arena with the same setup, the lighting/shadows follow the direction of the sun.

Any ideas why the lighting appears to be offset by 90 degrees?

Product Version: Not Selected
more ▼

asked May 03 '15 at 06:23 AM in Rendering

avatar image

1 1 4

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

1 answer: sort voted first

Hi Onyxdeath,

I've tested this with 4.7.6 and our internal build of 4.8 and have not experienced this issue with Tiled landscapes from world machine or any other assets.

From the looks of the video this looks like something is not set up in the BP correctly.

I would expect to see the sun shining through the landscape when below though simply because dynamic lighitng is not blocked in this manner. You will need to set the Suns Intensity to be 0 when below the horizon threshold.

I've got a simple example project setup here that is based of Gregdumb's Wiki tutorial: https://forums.unrealengine.com/showthread.php?56777-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=209224&viewfull=1#post209224

more ▼

answered May 04 '15 at 04:18 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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