Recreating a "disolving" effect

Hey guys would anyone know if its possible to recreate something like this in babylon ? https://lookingfor.vision/ the fade/disolve morph between images. I dont have a demo as i dont even know where to start with it haha…

Not the same effect, but a dissolve anyway:

https://playground.babylonjs.com/#WB27SW#4

Done with the NME: How To use the Node Material - Babylon.js Documentation

1 Like

Wow cool! thanks for showing this! Maybe you know how would one start with sampling the colors from the scene, or a particular object in order to use them with this node material?

All depends really. Are the colors of the scene changing over time. If not take a screenshot and use a photodrawing app to sample colors.

scene.clearColor will give you the background color of the scene.

The color of a mesh can be found from one of the material color types https://doc.babylonjs.com/babylon101/materials#color

If textures are used for the material of a mesh then sampling the image used will give you the colors.

1 Like