如何在 A-Frame 中对圆柱体内部进行纹理处理?

How do I texture the inside of a cylinder in A-Frame?

我在 A 型框架中有一个圆柱体,外面应用了纹理。我想把它变成一个我可以进去的冰屋。如何将纹理也应用到圆柱体内部?

<a-cylinder></a-cylinder>
<a-entity geometry="primitive: cylinder" material="src: #texture"></a-entity>

您可以将 material.side 设置为 double 以在网格的两侧进行渲染。 https://aframe.io/docs/0.3.0/components/material.html#properties

<a-cylinder side="double"></a-cylinder>
<a-entity geometry="primitive: cylinder" material="src: #texture; side: double"></a-entity>