immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
1k stars 483 forks source link

Video alpha not working with skybox #155

Closed ElliotEserinUT closed 2 years ago

ElliotEserinUT commented 2 years ago

Hi, I was messing around with using a video in AR. I used a video with an alpha channel (webm) which worked great in Augmented Reality but when I added a skybox to the non-augmented reality bit the video transparency no longer worked. Is there an easy fix for this or is it something that is difficult to do?

Thanks!

AdaRoseCannon commented 2 years ago

This isn't really the best place to ask for help, stack overflow maybe better. You should probably also clarify if you are just using WebGL or using the WebXR Layers API to accomplish this. If this is just three.js then it sounds like you didn't mark the video texture as transparent and should ask for help in the three.js forums.