【发布时间】:2016-09-28 17:40:18
【问题描述】:
我正在尝试通过这样做来为 A-Frame 中的雾色设置动画:
<a-scene antialias="true" fog="type: exponential; color: #444; density: 0.1">
<a-animation attribute="fog.color" from="#444" to="#000" dur="2000"></a-animation>
</a-scene>
但它似乎不起作用。我可以通过这种方式对密度进行动画处理,但颜色只是瞬间改变。
【问题讨论】:
标签: aframe