I want to render a HTML snippet, say, a single paragraph of formatted text or an entire webpage, as part of a 3D scene using WebGL. The idea is to have the HTML snippet rendered into a texture and then map that texture to any surface (or simply a quad).

Is there any way to do this in WebGL? Is it part of the standard? Do some browsers support this as a proprietary extension?

Thanks,
Felix