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"

Best option for lighting a model solar system.

I am creating a model of the solar system for my game. It will be using a top down RTS-style camera with the planets orbiting around the Sun. What is the best way to realistically light this kind of system?

  1. Point lights have a very limited radius which doesn't quite work out for this scale. I have tried changing their radius in blueprints and it kinda works, but produces horrible shadow artefacts, sometimes even when the planets are not aligned to shadow each other.

  2. Direction lights work, but they are not fit because of exactly that - direction. In some case you may see something unrealistic like this:

alt text

If someone could point me in the right direction, where to dig, I'd be very grateful.

Product Version: UE 4.20
Tags:
capture.jpg (484.3 kB)
more ▼

asked Oct 16 '18 at 07:05 AM in Rendering

avatar image

Atanvaryar
1 1

avatar image HarryHighDef Oct 16 '18 at 08:55 AM

Have you considered using spotlights on each planet? Each planet could have an orbiting spotlight always oriented to be coming from the "sun". You won't get shadows from other planets but it would maintain your directionality and lighting quality

avatar image Atanvaryar Oct 17 '18 at 11:09 AM

I haven't tried spotlights yet. So far I have managed to get an unlit emissive material going that fades to black, always facing the sun. Used a material parameter collection for that. However that means planets do not cast shadows on each other. With faraway planets that's ok, however when you are looking at a planet with one or several moons you kinda notice. I'll give spotlights a try next.

(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