Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有地球纹理的球体。我可以在球体上绘制精确的点,但需要调整纹理的位置(旋转它)以匹配坐标的放置位置。有没有办法在球体上旋转纹理?
尝试玩这个:
texture.offset.x = 0.5; // 0.0 - 1.0 texture.offset.y = 0.5; // 0.0 - 1.0