Open agusalex opened 5 years ago
Hi, I reproduce the issue too, has anyone found a workaround? Is it related to a-frame or threejs? There aren't any warnings in the console so it's hard to guess where the problem lies.
So, any changes?
My webapp is developed using v0.9.2 and I meet the same issue. @dmarcos , @ngokevin would you know the reason for this?
Just wanted to share a live example to demonstrates that the latest three.js
version (R112
) supports webm video textures with transparency.
@Mugen87 Thanks. Great news. A-Frame latest release is on r111. We will take on the fix for 1.1.0
It should also work with R111
: https://legendary-planet.glitch.me
@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. It works on versions > 0.9.0
check it out: https://github.com/balataca/aframe-transparent-video-shader
Hello,
I had the same issues as you, and I made a shader package to solve this problem. It works on versions > 0.9.0
check it out: https://github.com/balataca/aframe-transparent-video-shader
I've tried on Aframe 1.0.4, and it doesn't remove the background... Can you confirm it still works on your side?
Hello, I had the same issues as you, and I made a shader package to solve this problem. It works on versions > 0.9.0 check it out: https://github.com/balataca/aframe-transparent-video-shader
I've tried on Aframe 1.0.4, and it doesn't remove the background... Can you confirm it still works on your side?
Seems like the material component needs the attribute "transparent:true;". Now it's working.
Hello, I had the same issues as you, and I made a shader package to solve this problem. It works on versions > 0.9.0 check it out: https://github.com/balataca/aframe-transparent-video-shader
I've tried on Aframe 1.0.4, and it doesn't remove the background... Can you confirm it still works on your side?
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.. Does anyone know how to resolve this
This helps me to solve the problem.
Description: As reported by @jamess922 on https://github.com/jeromeetienne/AR.js/issues/480 Alpha channel video does not seem to be working, however, this is not the case on version 0.8