Changing the EnvironmentWebcam render target to use a real webcam feed

Hi,
Is there a way to change the EnvironmentWebcam render target so that, instead of capturing the in-game view, it uses the input from my webcam?

I’d like to render the webcam feed directly and have the system respond based on what it detects through the camera.

If you could guide me or point me to any tutorials or documentation on how to achieve this, I would really appreciate it.

Thanks in advance!

Hello,

On the EnvironmentWebcam component, you need to assign a Render Target that comes from your webcam.

So the steps are roughly:

  1. Set up a webcam capture in Unreal that outputs to a Render Target (there are several tutorials online for “Unreal webcam to render target” you can follow).

  2. Take that Render Target and plug it into the Render Target field of the EnvironmentWebcam component.

Once the webcam feed is correctly bound to that Render Target, Convai Vision will use your webcam input.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.