aframe
aframe copied to clipboard
make webgl2 optional to initialize webgl context
Webgl2 shaders dont compile with the current context created by aframe. ThreeJs default context is weblg1, and doesnt allow to work with webgl2 reserved words. I had to modify a-scene.js file to support my shaders using "sampler3D". Shouldnt be optional to be able to create a webgl2 context?
- A-Frame Version:
- Platform / Device:
- Reproducible Code Snippet or URL: