yahiko Posted July 19, 2017 Share Posted July 19, 2017 Simple question I think. For the next major release of Pixi, v5, which WebGL version will be implemented? Thanks! Quote Link to comment Share on other sites More sharing options...
themoonrat Posted July 19, 2017 Share Posted July 19, 2017 Both! yahiko 1 Quote Link to comment Share on other sites More sharing options...
xerver Posted July 19, 2017 Share Posted July 19, 2017 We will try to support both. Using a progressive enhancement technique to enable faster code-paths or more features when WebGL2 (or certain extensions) are available is the current strategy I am using. I currently use feature detection to resolve calls to make depending on the context we get, since we do want to support users passing in a custom context, we need to detect WebGL2 support both in the browser and on the active context. Taz and yahiko 2 Quote Link to comment Share on other sites More sharing options...
yahiko Posted July 20, 2017 Author Share Posted July 20, 2017 So basically, you are going to develop and maintain a kind of pixi-gl2-core library alongside pixi-gl-core, aren't you? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 20, 2017 Share Posted July 20, 2017 Right now it is integrated inside https://github.com/pixijs/pixi.js/tree/next , and I see that GL layer is losing many things from it, may be separate lib is obsolete. yahiko 1 Quote Link to comment Share on other sites More sharing options...
yahiko Posted July 20, 2017 Author Share Posted July 20, 2017 It's a pity. I'm begining to appreciate this separate library Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 20, 2017 Share Posted July 20, 2017 Yes, but there is a good side: https://github.com/pixijs/pixi.js/wiki/v5-Proposal%2C-Materials-%26-Geometry , it will be stored in same repo but named "@pixi/gl" yahiko 1 Quote Link to comment Share on other sites More sharing options...
xerver Posted July 20, 2017 Share Posted July 20, 2017 You can see the current state of this GL package here: https://github.com/pixijs/pixi.js/tree/next-reorg/plugins/gl Doesn't contain too much webgl2 stuff right now, but the idea is for it to decide which APIs to use based on the context type. yahiko 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.