Download

The current state of WebGL -- anyone using the asm.js for their game in the browser?

I wrote a piece about the current state of WebGL today. I’d love to hear your thoughts about WebGL, and whether or not you are currently building your UE4 game for the browser. iOS8, OSX Yosemite, and Android Lollipop all had big changes this week, in terms of adoption for WebGL.

If you missed it in the past, Epic partnered with Martin Best, of Mozilla, to port over UE3 to the browser (Firefox) using asm.js a few years back, and recently did the same for UE4.

Here’s how you get started with porting your UE4 game using WebGL as well (Epic’s Docs)

UE4 already supports exporting to HTML5 using emscripten (asm.js), although i tend to think of it more like a proof of concept rather than something actually useful, since the build is quite big, requiring a quite big amount of RAM to run the game. Maybe later on it will get some optimisations from epic, but it doesn’t seem to happen in the near future, the current support is just to tick off another platform support on the list, just like android although the performance is quite terrible.