Hi, Babylon Professors!
I'm changing textures of my objects by dragging and dropping some stuff inside my html document.
And when I'm calling this line:
scene.materials[x].diffuseTexture = new BABYLON.Texture(givenFilePath, scene);
Babylon makes a GET request to the server in order to get an image.
But I need to add some headers to this request and some times even try to take this picture locally. Is it any predefined functions or ways to change GET request, or to upload this picture for example from browser web storage?
Thanks!