Closed Andrej730 closed 1 year ago
Other inconstitance that is also apparent when cloud does work in non-play mode is that cloud in non-play mode is kind of shifting somewhere when in play mode it seems fine and it stays at it's place. Any fix for that?
https://user-images.githubusercontent.com/9417531/214924277-ecbe59ee-0b5e-4b59-b717-4517ce1b6d61.mp4
This happens when the bounds of the VDB that change frame per frame are not updated on the material. The blueprint is responsible for updating these info. And the BP probably has a delay of one or two frames with the render thread (update is done on game thread). Let me know if you find a solution.
Sorry but I don't have the energy to find a fix for this. Best of luck, Thibault.
Maybe I'm missing something (because on SparseVolumetrics test map it works fine) but whenever I setup BP_VdbToVolumetricClouds myself I cannot see it viewport if I don't start "play" mode. Which is inconvenient for tests. Sometimes restarting Unreal / changing level and changing it back / tweaking "Layer Bottom Altitude" in VolumetricCloud to 0, to 1, to 5 and back and forth helps but it's inconsistent.
Example: https://user-images.githubusercontent.com/9417531/214920258-00b71560-e037-402b-ad61-674bbafab5c9.mp4
Example map for tests - no clouds without play mode.zip