XaiJu
CodeLikeMe
CodeLikeMe

patreon


Unreal Dynamic weather - Change sky cloud level - UE4 Open World Tutorials #19

This 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.

Unreal Dynamic weather - Change sky cloud level - UE4 Open World Tutorials #19

Comments

you should call the update sky macro from update sky custom event, but here you are calling the update sky custom event itself

Thilina Premasiri

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

Show me a screenshot of update sky function

Thilina Premasiri

I got that fixed, but now I get Infinite loop detection BP_Sky_Sphere Function: Update Sky

You have to assign skysphere into that variable in the details panel after selecting the weather controller

Thilina Premasiri

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!

No. I don't think so. But why don't you download my project and compare

Thilina Premasiri


More Creators