- Home /
Downloading an image via WebGL
Hello,
I'm having some basic issues with CORS when downloading an image from webgl. Basically I want to be able to display this image as a texture:
https://www.opentable.com/img/restimages/34060.jpg
In the editor using the www class works fine for this. However I found when building to WebGL and viewing my localhost in a browser there is an error with CORS not being enabled on the server.
I can't change the server settings in this case, so what is my best option to download this file? Is this only an issue I'll have when I'm on localhost?
Jed
Your answer
Follow this Question
Related Questions
Load Spotify image into texture C# 1 Answer
(URGENT!!!!!!!!!) WebGL out of memory no matter how much I allocate. [C#] 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
UDP with coroutines crashing unity? 1 Answer