microsoft / MixedRealityCompanionKit

This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
596 stars 288 forks source link

Streaming videos with alpha/transparency possible? #345

Open ValentinKraft opened 5 years ago

ValentinKraft commented 5 years ago

Hey,

I'd like to know if it is possible to also stream semi-transparent video content in the RealtimeStreaming project for Unity on the HoloLens. On https://github.com/microsoft/MixedRealityCompanionKit/tree/master/RealtimeStreaming it says that the client uses the DXGI_FORMAT_NV12 format but it is not clear for me if transparency is supported or not.

If not - is there a way to implement/pack a transparency value inside the data/texture?

Thanks!

danilogr commented 4 years ago

Point of information: NV12 does not have native support for the alpha channel (See https://wiki.videolan.org/YUV#NV12). So my guess here is no.