'Is it possible to capture the screen of 3D object with camera (or webcam) content as the background with aframe (mind-ar-js)?

I want to ask, is it possible to take a screenshot of 3D with the camera content as a background? I manage to find a way to screenshot the "3D only" programmatically thanks to A-frame documentation here, but I wonder if it is possible to take a screenshot with the content from the camera/webcam as the background as well.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source