Document or pdf viewer in threejs environment

Is there any way to load any type of document or pdf viewer using threejs in 3D Environment?

You can try to render the PDF on a canvas element via PDF.js and then use it to create an instance of THREE.CanvasTexture for a plane mesh.

1 Like