How to change background on drawImage DynamicTexture

Hi everyone,

I’m making a project about 3D configurator. I am currently having problems using dynamic texture (drawImage function). When I resize the image in drawImage, a black background will appear like this (the image I attach below). Can anyone help me how to change the background color to white or make the background transparent? Thank you.

https://www.babylonjs-playground.com/#UXCB15#114

1 Like

Thank you for the reply

1 Like