Hacker News new | past | comments | ask | show | jobs | submit login

>Also how can you load say models but not textures? All files are just binary data.

CORS and the Same Origin Policy.




If you read thought my comment history you'll see I'm not a web developer.


dont 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.


What? Loading of WebGL textures is subject to the same origin policy.


You can load WebGL texture from byte[] pixel array. http://stackoverflow.com/questions/9046643/webgl-create-text...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: