-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha Channel Video transparency broken since version 0.9 #4079
Comments
Hi, |
So, any changes? |
Just wanted to share a live example to demonstrates that the latest |
@Mugen87 Thanks. Great news. A-Frame latest release is on r111. We will take on the fix for |
It should also work with |
@Mugen87 thanks! I tried the code from the glitch you just shared and used the mesh on a a-entity, it works perfectly indeed. |
It seems the texture format is set to THREE.RGBFormat(1022) instead of THREE.RGBAFormat(1023) - seems to do the trick From what i can tell the VideoTexture has its format set to THREE.RGBFormat if not specified (source), and the material system only changes the format to THREE.RGBAFormat for some IOS / HLS hacks (source) |
Hello, I had the same issues as you, and I made a shader package to solve this problem. check it out: |
I've tried on Aframe 1.0.4, and it doesn't remove the background... |
Seems like the material component needs the attribute "transparent:true;". Now it's working. |
I got this working Chrome desktop no problems. Doesn't work on the Oculus Quest or Mozilla XR, video comes up blank |
Is this bug ever going to be (properly) fixed? Does anyone know what has to be done? |
this issue is still there , the transparent video plays on desktop but it goes completely black on my android samsung m21.. |
This helps me to solve the problem. |
Description:
As reported by @jamess922 on
jeromeetienne/AR.js#480
Alpha channel video does not seem to be working, however, this is not the case on version 0.8
Version 72.0.3626.121 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
Here it is broken:
https://glitch.com/edit/#!/aframe-alpha-0-9
Here it works:
https://glitch.com/edit/#!/aframe-alpha-0-8
The text was updated successfully, but these errors were encountered: