为什么如何修复Ursina纹理不起作用并模型纯黑色?

问题描述 投票:0回答:1

enter image description here 纹理在另一个.OBJ上很好地工作。

enter image description here

在设置纹理之前将颜色设置为白色,它对我有用,但是如果它是一个按钮,那么如果您悬停在白色时,它就不会突出显示。 示例:
python model 3d textures ursina
1个回答
0
投票

entity = entity(model ='model/model.obj',color = color.white,texture ='textures/texture.png')

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.