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"

How to add the sun to a custom sky sphere?

So i have a space scene with Earth in the middle. I created a custom sky sphere where i placed my stars background. So far so good. The only problem i have is that i lost the sun represented by the directional light. And i really want that to be present in the scene (logically, since it is a space scene you want the sun to be there...). So, how to make the sun position visible? Is there any option im missing? maybe the sun position is too far away (and its drawing outside the sky sphere)?. Thanks in advance.

Product Version: Not Selected
more ▼

asked Aug 09 '17 at 04:10 PM in Rendering

avatar image

31 3 9 12

avatar image Jon X ♦♦ STAFF Oct 01 '17 at 06:06 PM

Hi amstradcpcuser,

If you are still looking for help with this, would you mind providing your project for download so that I can investigate?

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

2 answers: sort voted first

Bumping this because i still didnt find a solution. Is custom skyspheres not compatible with showing up the sun from the directional light?

more ▼

answered Aug 16 '17 at 06:58 PM

avatar image

31 3 9 12

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

I am also looking for a solution. I used to import a .dds cubemap before and threw that in the blueprint, but the next time I loaded the project it was all messed up. I am now using an actual sphere of 1000,1000,1000 scale and all my components are inside of it. I think you have a similar setup? I tried removing the directional light and make a singular massive spotlight, but that would cause the lighting to not build. A directional light doesn't light anything up (all objects turn black). I assume this is because it is outside of my sphere, and the sphere blocks it.Have you found a solution to this yet? I would love to know it :)

(If I find a solution myself, I will let you know)

more ▼

answered Sep 25 '17 at 05:16 AM

avatar image

94 5 7 11

avatar image amstradcpcuser Oct 10 '17 at 02:53 PM

Yup, my sky sphere is supossed to hold everything in my scene. I dont know for sure the size, but well, it is a skysphere lol. Using a spot light is out of the question because im also using postprocess effects, meaning that for example im using lens flares and i cant achieve a realistic result with a spotlight lol. Maybe in your case is different, but in mine the sun is essential.

In my case, the directional light works pretty nicely (it is a space scene so you will just see one side of the earth lighted up, as it should be) but actually im pretty sure it is INSIDE my skysphere.

Anyways, i parked this project time ago because well, i couldnt find a solution and i just dont want to do things in half measures. If someday i see a tutorial or someone enlightengs me, i will continue. One could have hped that in the UNREAL forums you will find some advise or a solution.. oh well.

(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