Unreal Dynamic weather - Change sky cloud level - UE4 Open World Tutorials #19
🕑 Added 2019-01-06 09:09:59 +0000 UTCThis is the 19th episode of #unreal open world #tutorial series. In this episode, i'll explain how to dynamically change the cloud level of the sky. This is a part of dynamic weather system we are working on. As the rain is about to fall, the cloud level of the sky should be increased and after rain is stopped, cloud level should return to normal. I'll drive this system by manipulating cloud opacity parameter of the BP_SkySPhere with few material modifications.
Comments
Thilina Premasiri
you should call the update sky macro from update sky custom event, but here you are calling the update sky custom event itself
yes, that fixed it. Thanks for your help in getting the none reference fixed!
I think the fix might be to call refresh material instead?
https://ibb.co/1rwDptF https://ibb.co/p2jF1p8
Thilina Premasiri
Show me a screenshot of update sky function
I got that fixed, but now I get Infinite loop detection BP_Sky_Sphere Function: Update Sky
Thilina Premasiri
You have to assign skysphere into that variable in the details panel after selecting the weather controller
I am getting "Accessed None trying to read property Sky" in the weather controller, but the varible type is correct for sky, and it compiles, any thoughts?
I got it working. I missed something small but vital in the tutorial. It took me ages to find it! Thank you for replying so quickly though!
Thilina Premasiri
No. I don't think so. But why don't you download my project and compare