Make fade-in look

I am adding dynamic textures at run-time but when a new texture is added it just updates to the new one instantly. I’d like to make the new texture sort of to fade-in. Is there a way to fade-in dynamic texture?

You can make a CustomProceduralTexture that takes the old & the new dynamic texture and interpolate between them:

https://doc.babylonjs.com/how_to/how_to_use_procedural_textures#creating-custom-procedural-textures

1 Like