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

Are there any plans to include a webgl2 renderer?

Open robertcorponoi opened this issue 7 years ago • 3 comments

Hopefully I didn't miss this being posted anywhere else but I was curious if there are plans to add a Two.Types.webgl2 in the future.

robertcorponoi avatar Jul 28 '18 11:07 robertcorponoi

Thanks for the question @robertcorponoi. At the moment there isn't any movement on a WebGL2 Renderer. That being said, there are definitely plans to rewrite and improve the current WebGL renderer. I could add version 2 as an exploration during this time.

Is there specific functionality you'd like to take advantage of in WebGL2?

jonobr1 avatar Jul 28 '18 16:07 jonobr1

Small Update: Also, this will commence once the adoption of WebGL2 is clearly adopted across major browsers for both desktop and mobile.

jonobr1 avatar Jul 28 '19 08:07 jonobr1

Looks like we've come to a point and time where this is very relevant: https://caniuse.com/webgl2

I need to do a bit more research, but with some slight modifications it should be quite straightforward to use WebGL 2: https://webgl2fundamentals.org/webgl/lessons/webgl2-whats-new.html

jonobr1 avatar Jan 13 '22 01:01 jonobr1