Jump to content

The transition for "stop weather" in Unity 2021 LTS wasn't smooth.


Wuyan

Recommended Posts

 

I've noticed that the transition for "stop weather" is quite smooth in Unity 2022, but in 2021, there's hardly any transition, especially for volumetric clouds. On the other hand, the transition for "start weather" is smooth. I tested this in the demo scene. How can I make the volumetric clouds fade out smoothly when stopping the rain? I've noticed that the transition for "stop weather" is quite smooth in Unity 2022, but in 2021, there's hardly any transition, especially for volumetric clouds. On the other hand, the transition for "start weather" is smooth. I tested this in the demo scene. hhat should I do? For example, How can I make the volumetric clouds fade out smoothly when stopping the rain in unity 2021?

 

If need custom code, please give me a guide. I briefly looked at the source code and haven't found the way.

 

Thank you so much!

 

PS: The issue is likely in the TimeOfDayProfileData.ReturnFromWeather(XXX) method, please check it!

if (m_cloudPresets == TODCloudPresets.Custom), pay attention to this line and the content that follows, as the problem is likely to be here. A smooth transition only occurs when TODCloudPresets.Custom is set, otherwise there is no transition. This may be there are differences in the handling of volumetric clouds between Unity 2022 and 2021, and here only simply copied the method for 2022.

Link to comment
Share on other sites

I think from what I remembered that they did change how it was handled. 
Not really sure what that was anymore. 
You would need to adjust the profiles for a smoother transition. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...