ursina
ursina copied to clipboard
Actor glft light/texture issue
I have read faq and added Actor.
But models are black. The model can be found here.
self.actor = Actor(model)
self.actor.reparent_to(self)
self.actor.setScale((scale * (1 / model_width), scale * (1 / model_height), scale * (1 / model_width)))
if model_rotation_correction:
self.actor.setH(model_rotation_correction)
if model_y:
self.actor.setPos(0, model_y, 0)
Can someone help me? What the reason might be?
You're lucky, at least gltf works. When i tried to use gltf, all i've got is a path error, no matter how i exported and place model :D
For Actor it's better to use .egg format of models, works 100%.