2 ms·
>Also how can you load say models but not textures? All files are just binary data. CORS and the Same Origin Policy.
by TazeTSchnitzel 13y ago
>Also how can you load say models but not textures? All files are just binary data.
CORS and the Same Origin Policy.
- valarauca1 13y agoIf you read thought my comment history you'll see I'm not a web developer.
- camus2 13y agodont worry CORS or same origin policity have nothing to do with the way the server should load assets.Not sure why the other guy talked about that. The issue you raised still stands.
- TazeTSchnitzel 13y agoWhat? Loading of WebGL textures is subject to the same origin policy.
- vbnd 13y agoYou can load WebGL texture from byte[] pixel array. http://stackoverflow.com/questions/9046643/webgl-create-texture http://stackoverflow.com/questions/9046643/webgl-create-text...