chiguireitor Posted January 5, 2016 Share Posted January 5, 2016 Hello everyone! I'm new here and wanted to share with you what i've accomplished over the weekend with the latest Chrome Canary builds and Nw.js, as i'm developing a game atm and i needed some capabilities of WebGL 2.0. The post on my blog (no ads, promise) has everything explained. Basically it boils down to: Enabling the unsafe-es3 flag.Migrating the shaders to ES3 dialect.Configuring the new type of attachments and buffers.Package the app with the latest NW.js beta.That's it, feel free to comment and criticize here. mattstyles 1 Quote Link to comment Share on other sites More sharing options...
rich Posted January 5, 2016 Share Posted January 5, 2016 That was a great read, WebGL2 is going to be exciting! Quote Link to comment Share on other sites More sharing options...
chiguireitor Posted January 5, 2016 Author Share Posted January 5, 2016 Yeap, and what amazes me is the ease of implementation. If one has a working framework, adaptation is minimal. Quote Link to comment Share on other sites More sharing options...
JakeCake Posted January 5, 2016 Share Posted January 5, 2016 That was a great read, WebGL2 is going to be exciting! Any plans for Phaser and WebGL2 you can share? I don't know about "Migrating the shaders to ES3 dialect", but I reckon this is a small task for the primary shader? Quote Link to comment Share on other sites More sharing options...
rich Posted January 5, 2016 Share Posted January 5, 2016 Yes there will be a Lazer WebGL2 renderer very soon (not one for Phaser though, sorry) JakeCake 1 Quote Link to comment Share on other sites More sharing options...
chiguireitor Posted January 8, 2016 Author Share Posted January 8, 2016 Any plans for Phaser and WebGL2 you can share? I don't know about "Migrating the shaders to ES3 dialect", but I reckon this is a small task for the primary shader? ES3 Dialect has some nuisances, and the extinction of the Varying type and the new in-out qualifiers is kinda awkward for the uninitiated. However, "porting" the shaders to the new architecture is kinda straightforward. Quote Link to comment Share on other sites More sharing options...
WombatTurkey Posted January 8, 2016 Share Posted January 8, 2016 Yes there will be a Lazer WebGL2 renderer very soon (not one for Phaser though, sorry) How long do you think a 5-10k LoC game would take to get ported over to Lazer? Just curious because I might take advantage of Lazer and work on the port if it's worth it. (Which it most likely is, but I am a lazy SOB ) 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.