WhitestormJS / whs.js

:rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js
MIT License
6.1k stars 390 forks source link

Support for WebGL 2 in RenderingModule #203

Open sasha240100 opened 7 years ago

sasha240100 commented 7 years ago

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

WebGL 2 Support

Version:
Issue type:

Tested on: ###### Desktop - [ ] Chrome - [ ] Chrome Canary - [ ] Chrome dev-channel - [ ] Firefox - [ ] Opera - [ ] Microsoft IE - [ ] Microsoft Edge ###### Android - [ ] Chrome - [ ] Firefox - [ ] Opera ###### IOS - [ ] Chrome - [ ] Firefox - [ ] Opera
thejmazz commented 7 years ago

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

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