Replace current material with png's that can be uploaded via a button

Hi @Xora and welcome,

That’s definitely possible! Things you will need to do to make that happen:

  1. Program your upload button using regular HTML and JS (you will find a lot of tutorials online on that).

  2. Convert that image to a PlayCanvas texture and apply it to your material.

Here is a helpful post that contains code and an example on how to do step 2.

2 Likes