roman_44 Posted December 3, 2015 Share Posted December 3, 2015 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! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.