├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .vscode └── settings.json ├── LICENSE.md ├── README.md ├── examples ├── 2d-lines-force-preservedrawingbuffer.html ├── 2d-lines.html ├── js │ ├── twgl-full.min.js │ └── twgl-full.module.js ├── threejs │ ├── index.html │ └── threejs │ │ └── build │ │ └── three.module.js └── unity │ ├── Build │ ├── UnityHTML.data.unityweb │ ├── UnityHTML.json │ ├── UnityHTML.wasm.code.unityweb │ ├── UnityHTML.wasm.framework.unityweb │ └── UnityLoader.js │ ├── TemplateData │ ├── UnityProgress.js │ ├── favicon.ico │ ├── fullscreen.png │ ├── progressEmpty.Dark.png │ ├── progressEmpty.Light.png │ ├── progressFull.Dark.png │ ├── progressFull.Light.png │ ├── progressLogo.Dark.png │ ├── progressLogo.Light.png │ ├── style.css │ └── webgl-logo.png │ ├── index-log-shaders-webgl1-by-disabling-webgl2.html │ ├── index-log-shaders.html │ ├── index-webgl-show-info.html │ └── index.html ├── images ├── dump-shaders-google-maps.png ├── log-draw-calls-jsconsole.gif ├── log-draw-calls.html ├── preservedrawingbuffer.png ├── threejs-log-shaders.png ├── unity-log-shaders.png └── webgl-show-info.png ├── package.json ├── webgl-check-framebuffer-feedback.js ├── webgl-dump-shaders.js ├── webgl-force-alpha-false.js ├── webgl-force-alpha-true.js ├── webgl-force-powerpreference-high-performance.js ├── webgl-force-powerpreference-low-power.js ├── webgl-force-premultipliedalpha-false.js ├── webgl-force-premultipliedalpha-true.js ├── webgl-force-preservedrawingbuffer.js ├── webgl-gl-error-check.js ├── webgl-log-bad-shaders.js ├── webgl-log-shaders.js ├── webgl-show-draw-calls.js ├── webgl-show-info.js └── webgl2-disable.js /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .DS_Store 3 | node_modules 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .vscode 3 | .travis.yml 4 | images 5 | examples 6 | 7 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/README.md -------------------------------------------------------------------------------- /examples/2d-lines-force-preservedrawingbuffer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/2d-lines-force-preservedrawingbuffer.html -------------------------------------------------------------------------------- /examples/2d-lines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/2d-lines.html -------------------------------------------------------------------------------- /examples/js/twgl-full.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/js/twgl-full.min.js -------------------------------------------------------------------------------- /examples/js/twgl-full.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/js/twgl-full.module.js -------------------------------------------------------------------------------- /examples/threejs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/threejs/index.html -------------------------------------------------------------------------------- /examples/threejs/threejs/build/three.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/threejs/threejs/build/three.module.js -------------------------------------------------------------------------------- /examples/unity/Build/UnityHTML.data.unityweb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/Build/UnityHTML.data.unityweb -------------------------------------------------------------------------------- /examples/unity/Build/UnityHTML.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/Build/UnityHTML.json -------------------------------------------------------------------------------- /examples/unity/Build/UnityHTML.wasm.code.unityweb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/Build/UnityHTML.wasm.code.unityweb -------------------------------------------------------------------------------- /examples/unity/Build/UnityHTML.wasm.framework.unityweb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/Build/UnityHTML.wasm.framework.unityweb -------------------------------------------------------------------------------- /examples/unity/Build/UnityLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/Build/UnityLoader.js -------------------------------------------------------------------------------- /examples/unity/TemplateData/UnityProgress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/UnityProgress.js -------------------------------------------------------------------------------- /examples/unity/TemplateData/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/favicon.ico -------------------------------------------------------------------------------- /examples/unity/TemplateData/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/fullscreen.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressEmpty.Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressEmpty.Dark.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressEmpty.Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressEmpty.Light.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressFull.Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressFull.Dark.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressFull.Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressFull.Light.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressLogo.Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressLogo.Dark.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/progressLogo.Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/progressLogo.Light.png -------------------------------------------------------------------------------- /examples/unity/TemplateData/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/style.css -------------------------------------------------------------------------------- /examples/unity/TemplateData/webgl-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/TemplateData/webgl-logo.png -------------------------------------------------------------------------------- /examples/unity/index-log-shaders-webgl1-by-disabling-webgl2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/index-log-shaders-webgl1-by-disabling-webgl2.html -------------------------------------------------------------------------------- /examples/unity/index-log-shaders.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/index-log-shaders.html -------------------------------------------------------------------------------- /examples/unity/index-webgl-show-info.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/index-webgl-show-info.html -------------------------------------------------------------------------------- /examples/unity/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/examples/unity/index.html -------------------------------------------------------------------------------- /images/dump-shaders-google-maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/dump-shaders-google-maps.png -------------------------------------------------------------------------------- /images/log-draw-calls-jsconsole.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/log-draw-calls-jsconsole.gif -------------------------------------------------------------------------------- /images/log-draw-calls.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/log-draw-calls.html -------------------------------------------------------------------------------- /images/preservedrawingbuffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/preservedrawingbuffer.png -------------------------------------------------------------------------------- /images/threejs-log-shaders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/threejs-log-shaders.png -------------------------------------------------------------------------------- /images/unity-log-shaders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/unity-log-shaders.png -------------------------------------------------------------------------------- /images/webgl-show-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/images/webgl-show-info.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/package.json -------------------------------------------------------------------------------- /webgl-check-framebuffer-feedback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-check-framebuffer-feedback.js -------------------------------------------------------------------------------- /webgl-dump-shaders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-dump-shaders.js -------------------------------------------------------------------------------- /webgl-force-alpha-false.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-alpha-false.js -------------------------------------------------------------------------------- /webgl-force-alpha-true.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-alpha-true.js -------------------------------------------------------------------------------- /webgl-force-powerpreference-high-performance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-powerpreference-high-performance.js -------------------------------------------------------------------------------- /webgl-force-powerpreference-low-power.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-powerpreference-low-power.js -------------------------------------------------------------------------------- /webgl-force-premultipliedalpha-false.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-premultipliedalpha-false.js -------------------------------------------------------------------------------- /webgl-force-premultipliedalpha-true.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-premultipliedalpha-true.js -------------------------------------------------------------------------------- /webgl-force-preservedrawingbuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-force-preservedrawingbuffer.js -------------------------------------------------------------------------------- /webgl-gl-error-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-gl-error-check.js -------------------------------------------------------------------------------- /webgl-log-bad-shaders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-log-bad-shaders.js -------------------------------------------------------------------------------- /webgl-log-shaders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-log-shaders.js -------------------------------------------------------------------------------- /webgl-show-draw-calls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-show-draw-calls.js -------------------------------------------------------------------------------- /webgl-show-info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl-show-info.js -------------------------------------------------------------------------------- /webgl2-disable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/greggman/webgl-helpers/HEAD/webgl2-disable.js --------------------------------------------------------------------------------