You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simplest way to run the demo applications is to copy whole library to a Web server and visit the example directory through HTTP browser.
The library is based on JavaScript and several WebGL shaders (Shaders are small programs dedicated for GPU rendering). The shaders are loaded dynamically through HTTP requests therefore a HTTP server is needed to run the app locally. To use the library you need to copy the shader folder shipped with WebGLayer to the sub-folder of your application. Once you are done you can use the relative URL to the shader directory to instantiate the WGL javascript object.