Rendering HTML as a WebGL Texture
2025
Article
Javascript
HTML
WebGL
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.