whs.js icon indicating copy to clipboard operation
whs.js copied to clipboard

Support for WebGL 2 in RenderingModule

Open sasha240100 opened this issue 7 years ago • 1 comments

https://github.com/mrdoob/three.js/issues/9965

We need to add WebGL2Renderer support to RenderingModule.

Concept

RenderingModule will detect webgl 2 support. If webgl 2 is supported then THREE.WebGL2Renderer will be used. If not - it will use THREE.WebGLRenderer as always.

Implementation

  • [ ] Test THREE.WebGL2Rendererwork in whs using RenderingModule.
  • [ ] Implement a WebGL 2 detector.
  • [ ] Use webgl 2 renderer if WebGL2 is supported

WebGL 2 Support

  • https://blog.chromium.org/2017/03/faster-3d-rendering-with-webgl-20.html
  • https://github.com/WebGLSamples/WebGL2Samples
Version:
  • [x] v2.x.x
  • [ ] v1.x.x
Issue type:
  • [ ] Bug
  • [x] Proposal/Enhancement
  • [ ] Question

Tested on:
Desktop
  • [ ] Chrome
  • [ ] Chrome Canary
  • [ ] Chrome dev-channel
  • [ ] Firefox
  • [ ] Opera
  • [ ] Microsoft IE
  • [ ] Microsoft Edge
Android
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Opera
IOS
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Opera

sasha240100 avatar Mar 17 '17 12:03 sasha240100

Probably good to also add some examples using webgl 2 features, like

  • [ ] transform feedback

http://www.realtimerendering.com/blog/webgl-2-new-features/

thejmazz avatar Mar 17 '17 15:03 thejmazz