Jump to content

[SOLVED] When clouds get disabled and enabled they will disappear in WidgetSpriteViewport


photo

Recommended Posts

Posted

Hello,

this works for the standard viewport and render to texture but not for the WidgetSpriteViewport.

When disabling the clouds they cannot be made active for the next frame.

Uploaded Reproducer to Unigine FTP

clouds_viewport_flicker.7z

Thanks

Posted

Hi Sebastian,

Thanks for the test scene. I've passed all the information to the dev team. 

Is this issue critical for you current project? We plan to fix it in the upcoming 2.15 SDK update (unless you need this done urgently).

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

We have been able workarround this by not disabling all cloud layers beforehand.

  • Thanks 1
Posted

Sebastian,

Just got an update from the dev team. In order to get a proper clouds rendering you need to manually call Unigine::World::updateSpatial() after cloudObject->setEnabled(true).

That's expected behavior and it's not related to the clouds (all the nodes will behave the same way).

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Ok so for WidgetSpriteViewport it is not automatically been handled. I guess our new approach is better then?

Thanks

  • silent changed the title to [SOLVED] When clouds get disabled and enabled they will disappear in WidgetSpriteViewport
×
×
  • Create New...