De-Panther / unity-webxr-export

Develop and export WebXR experiences using Unity WebGL
https://de-panther.github.io/unity-webxr-export/
Apache License 2.0
1.01k stars 106 forks source link

WebAR Screenshoot #308

Closed andresgutierrez17 closed 7 months ago

andresgutierrez17 commented 9 months ago

I am using the hit test AR, and I want to take a screenshot but the webcam is not in the screenshot, the image background is black.

De-Panther commented 9 months ago

The WebXR API doesn't allow this by default. There's the WebXR Raw Camera Access module that can allow that, but is currently not implemented in WebXR Export https://github.com/immersive-web/raw-camera-access/blob/main/explainer.md https://immersive-web.github.io/raw-camera-access/