⭐️⭐️⭐️⭐️⭐️ DeviceCameraWebGL – Published By Marks

This plugin allows you to access the device’s camera and stream its contents into a render texture (or

Keywords:

webgl, Mobile, Selfie, AR, VR, Augmented Reality, virtual reality, Camera, device, device camera, Webcam, Web

Short Description:

This plugin allows you to access the device’s camera and stream its contents into a render texture (or

Rating: ⭐️⭐️⭐️⭐️⭐️

Discount: None

Asset Title: DeviceCameraWebGL

Publisher: Marks

Category: tools, camera

More Details about this asset:

This plugin allows you to access the device’s camera and stream its contents into a render texture (or Texture2D if you want to). The reason I made this asset is because there are several issues with the native webcam texture implementation:

  1. You can’t switch the camera on Android.
  2. The camera doesn’t start on Safari.
  3. The screen tears when you switch from portrait to landscape.

My plugin addresses all issues above and works on all major browsers: Chrome, Safari, Firefox, Opera, Edge.


You can access the front camera, the rear camera, you can check which cameras the device has to begin with. You can start, stop, update the render texture, check if the camera is active, check if you are on desktop.


In addition to all of this, with version 2.0 comes the greatest feature yet: the ability to hijack existing video elements and stream its contents to a render texture. This is extremely useful in combination with plugins such as ARWT, because having the camera feed in a Unity Render Texture means you can manipulate it, take AR screenshots, record gameplay, etc.


If you like my asset, please consider leaving a review. It encourages me to improve the plugin and shows that my work is appreciated :).

Leave a Reply