Three.js scene.background 纹理中的透明度

时间:2021-06-14 18:50:11

标签: three.js

我无法更改它,即使视频 css 标签不透明。 感谢您提供可能的答案。 何塞·罗伯托·拉扎雷斯基

1 个答案:

答案 0 :(得分:0)

这些建议对我没有帮助。 我已经在 Movavi 中更改了电影的不透明度并解决了我的愿望。

...var videobg=document.getElementById('video');
...var texturebg=new THREE.VideoTexture(videobg);
...scene.background=texturebg;

感谢您的关注。 何塞·罗伯托