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"

solar system lighting?

Hi Guys!

The problem I have is that I was using a directional light for the planets to begin with but now that the planets are orbiting the sun the lighting no longer works and looks terrible, I have also tried to fake the lighting using Dot Product in the materials but I can't seem to update it on the fly. (I have 5 planets orbiting the sun at different rates and then there are moons orbiting those 5 planets so the dot product might end up quite complicated.)

Just to confirm, the orbits aren't the problem the lighting is.

Any ideas or possible solutions would be a massive help and are all greatly appreciated.

P.S. Spotlights or pointlights wouldn't work due to the scale of the solar system.

Thanks In Advance!

Product Version: UE 4.14
Tags:
more ▼

asked Dec 04 '16 at 10:23 AM in Blueprint Scripting

avatar image

Annunaki69
48 4 5 13

avatar image A GUPTA Dec 04 '16 at 11:17 AM

Increase Dynamic Shadow Distance in Cascaded Shadows options > 50000 or more. set the directional light to movable and Yes other lights won't work...

avatar image Annunaki69 Dec 04 '16 at 11:24 AM

Thanks for the answer but the orbits are vastly different, 2 planets could be at opposite sides of the sun at any one time

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

2 answers: sort voted first

Logically it really seems like a point like is what you want since the star is your source of light and should radiate in all directions, not a single direction like a directional light. I don't understand why the scale of the system should make any difference in your use of a point light.

more ▼

answered Dec 05 '16 at 05:28 PM

avatar image

QSBen
413 16 15 31

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

the scale means that the shadows struggle to be rendered at a distance that is need for the game, thanks for the idea, I'll have a play with the pointlight

more ▼

answered Dec 11 '16 at 07:48 AM

avatar image

Annunaki69
48 4 5 13

avatar image QSBen Dec 12 '16 at 05:17 PM

You should be able to have shadows render at large distances without issue. Check out This thread.

(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