How to make a melting effect transition between two different levels/environments

I am trying to create a short film, and I am making two environments for it. My main character is supposed to snap his fingers, and would create a sort of melting transition effect that would change the environment to a new landscape.

here are some examples of what I am looking for:

Sakura Rabbit (though this was using Unity): https://youtu.be/63-4VAMylV8?si=5Udiine1hJN0M2Kt

Ayoub Attache: https://youtu.be/6cg9uMzHXDk?si=I2jblMEvmd9GDe4h

I know Data Layers exist but I have no clue how to implement this the way its shown in the aforementioned youtube videos

Any tips would help! thank you!

It’s something along these lines

Not particularly straightforward.

It’s very close to what I’m looking for. But I wish they went more into detail.
Thanks though