Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TazeTSchnitzel
on March 18, 2014
|
parent
|
context
|
favorite
| on:
Mozilla and Unity Bring Unity Game Engine to WebGL
>Also how can you load say models but not textures? All files are just binary data.
CORS and the Same Origin Policy.
valarauca1
on March 18, 2014
[–]
If you read thought my comment history you'll see I'm not a web developer.
camus2
on March 18, 2014
|
parent
[–]
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.
TazeTSchnitzel
on March 18, 2014
|
root
|
parent
[–]
What? Loading of WebGL textures is subject to the same origin policy.
vbnd
on March 19, 2014
|
root
|
parent
[–]
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:
CORS and the Same Origin Policy.