[RELEASED] for UE4: Complete Sky and Weather System

Hey , thanks for the quick reply. I just need to amend the second problem - updating the direction light works from what I can see, but it’s still reporting a division by 0 when SetTime is used with a time that is close to midnight from what I can see. If I start with 0.5 it’s fine, but as I work my way up to 1, the error will start appearing. The division by zero itself happens in the color and rotation macro but it is caused by the SunColor returning 0,0,0,0.

As for specific crash use-cases… just as I’m typing I am looking at my map being frozen on 75% load and the engine crashing with no callstack. , and opening up the sequencer on a non-deleted asset are by far the most common ones.

Edit: I have figured it out. It’s just an with the macro. reports black as the sun color from dusk till dawn (heh) and the macro divides with that.

Edit 2:

Also, a few more questions if possible - is there a way to optimize performance? My 780GTX is getting barely 30fps when looking at the sky in 1080p… and is supposed to run on the PS4.

Best regards,
.