Unity WebGL Technical breakdown - How Unity WebGL Works

 A Glimpse of technical background of unity3d WebGL:

Unity support dozen of platform for application deployment and one of them is WebGL. WebGL allows you to run your content on a web. Technically, WebGL is an API that renders graphics in web browser.  Currently, it has two supported version of WebGL 1.0 and 2.0. Remember WebGL 1.0 roughly matches the functionally of OpenGL ES 2.0 while WebGL 2.0 roughly matches the functionally of OpenGL ES 3.0.

Unity WebGL Structure


Figure 1 Unity WebGL consist of these components.

How Unity Render Streaming Work?

What is unity Render Streaming?

Unity render streaming is one of the packages/or a solution that allows HD rendering via a browser. For more clarification of the concept of render streaming, see the below video. Here you can watch that how we can access HD content into different devices (laptop, tablet or even mobile) via a URL. Remember, the processing will take place on one high-end PC while the different devices can get video streaming/audio or even get a remote control of the player.

This streaming solution work on top of WebRTC. WebRTC is a free and open-source project that allows RTC (real-time communication) between web and mobile applications. Luckily unity also provides its own render streaming platform called Furioos.

How to Setup Your Own Render Streaming in Unity3d

In the below video, I have explained how to setup your own render streaming.