You might find this older post more interesting, more technical. Just keep in mind this blog post is 3 years old:
https://www.construct.net/en/blogs/ashleys-blog-2/webgl-webg...
It's trivial.
It's trivial.