No, sir. That made no difference. I’ve made both World Light and AtmosphereFog the root components, neither with any differing result.
Not quite, Juice. My goal is to create an self-contained atmosphere class that contains all the common tools to create an environment’s atmosphere, so that a player can edit them in real time. I don’t want them exposed in the editor though.
You are absolutely correct, and this issue hasn’t been addressed for years. It still exists in 4.19. I forgot about it, until recently coming back to work on a robust atmosphere, day/night, etc. system I’ve been tinkering with for a long time. I’ve always hit a wall at this point, and get insanely annoyed that I can’t utilized atmospheric fog at the component level. It has nothing to do with hierarchy in the component chain, and running StartPrecompute after setting up some defaults doesn’t do a thing either. Only thing that shows is the sun disc. “Sky” is black, I don’t even get ground scatter (that I notice, anyway).
I think the atmosphere stuff needs some attention. Being able to get colors would be nice, as requested every now and then by others. Being able to explicitly set the dominant directional light would be nice too (as opposed to checking that box in the directional light). Heck, we can’t even set that variable on a directional light, only get it. So that needs some love too.
I stand corrected, literally moments after posting this. I had set DistanceScale to 10000 (or 1km) vs the default of 1. This is because I intend to have large/long distance scenes, and per the documentation on DistanceScale:
Controls a distance factor. The default value of 1 assumes a 1:1 scale of Unreal Units to centimeters.
This makes for a very small world. As your world size increases, you will want to increase this
value accordingly. Larger values cause changes in the fog attenuation to occur more quickly.
Now if I set it in the BP, the default, that is… It doesn’t work. But if I make a variable, make the default for that 1, I can tweak in the editor and it works. Change the default in the BP, and it breaks if it’s anything other than 1.