How to use secondary canvas as a texture

Hi guys!

I was wondering if it is possible to extract canvas data made without Babylonjs and use it as a texture in Babylonjs

I would like to copy a canvas and wrap it around on an object built and showing in Babylon.js

Does anybody know how this can be done?

Thank you always!!

It is possible with Dynamic Textures | Babylon.js Documentation

I found a possible solution!

I have converted canvas data using toDataURL() then made it into a texture then applied with diffuseTexture.

It’s still not working for some reason, but I feel a few steps closer to the solution now.