[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGLSL Media Type Proposal

FWIW we've been using XHR for local development; one has to set a flag in the browser to allow this to happen however since the default behavior is to (appropriately) deny access to local files. This has worked ok for us.

On Sun, May 20, 2012 at 12:28 PM, Thor Harald Johansen <thj@thj.no> wrote:

HTML <script> blocks are the wrong place to be downloading GLSL scripts,
because it won't work for WebGL scripts executing in a worker.  We
should encourage people to use a forwards-compatible mechanism (XHR) to
download scripts, rather than fleshing out a mechanism that won't be
compatible with future features.

XHR is acceptable, but since local WebGL programs are a very real usage scenario, XHR will need to be modified to allow local files under certain conditions. Is it realistic to ask everyone to do this?


You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl