gear-vr

Alpha Animation in Aframe for a-object-model

こ雲淡風輕ζ 提交于 2019-12-02 06:02:19
问题 I have one 3d object with its obj and mtl file which is displayed using in Aframe. I want to apply animation on it which change its Alpha value gradually for Fade out effect. I went through AFrame doc. but couldn't find anything related to 3d object alpha animation. 回答1: The built-in material component primarily works with primitives, so material="opacity: 0.5" and similarly opacity="0.5" will not work here. You'll need to modify the THREE.js materials created by your model, using a custom