Rendering HTML as a WebGL Texture

02.12.2020

Article link

Small demo showing how to turn HTML markup into bitmap that can be used in canvas2d / WebGL for fancy effects.

I used this technique to create a chat, where the user can read incoming messages from a streamer chat while in VR. It also has substantial performance benefits if applied correctly.

Back