microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
913 stars 283 forks source link

Unity URP and Scene as Video Source #707

Open gkapellmann opened 3 years ago

gkapellmann commented 3 years ago

Describe the problem I am currently using Unity 2020 with the URP. The video rendering from a remote device works fine, but the Scene Source doesn't. I have tried to understand a bit the ARGB shader, but it goes beyond my immediate understanding, so I cant come up with a quick solution. Seems that the camera renders some textures differently, so the original script doesn't capture the scene source correctly.

So, that's basically it, to be able to use the Scene Source with the URP.