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"

Lighting for orbiting planets Issue

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
more ▼

asked Dec 04 '16 at 10:45 AM in Rendering

avatar image

48 4 5 14

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

1 answer: sort voted first

Attach a light to the planet using dot. Have the light point to the planet. You can attack the planet and the light to an invisible, noncolliding torus that rotates around the sun.

more ▼

answered Jan 25 '18 at 06:14 AM

avatar image

58 2 5 6

(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