I wanted to create a web browser in 3D world space for a user to interact with (maybe while inside a VR experience) or if that’s not possible then have a world space canvas that could render static webpages(or their screenshots) through a url.
So full fledged embedded web browser is not possible for VR as the VR view is purely WebGL right @yaustar ?
Because one would have to render the content(html) to a texture and render that in the 3D world so it’ll always be a screenshot of sorts.
The project is also using htmlToImage library as a renderer for converting the html into a texture and then updating the texture at every value update received from the custom website, or at least what I’m able to understand.
I’ve already tried this library earlier and it’s not quite the thing I’m looking for since it only works on div/html files but doesn’t work with iframe elements when fetching external website in it at runtime (to implement a kind of embedded browser) due to the CORS issue.