Is it possible to get an updated example project for cross-origin texture loading
the old published version works ok but launching from the editor doesn’t , even if you change the launch address to https it still doesn’t work
Just a working example of how to load a texture from an external url will be great!
That example hasn’t been updated and it tried to load an image from a source that does not have the correct CORS headers. The code looks OK so if you just change the image URL to a server that supports CORS it should work OK…
Indeed. Just verified this: http://playcanvas.com/editor/scene/455943/launch
So it works, as used to. You still have to use CORS rules by providing appropriate headers.
ah I see, many thanks.