aframe icon indicating copy to clipboard operation
aframe copied to clipboard

make webgl2 optional to initialize webgl context

Open kmilo9999 opened this issue 6 years ago • 1 comments

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:

kmilo9999 avatar Jul 07 '19 19:07 kmilo9999