Hello. I have been experimenting with panda3d-complexpbr for a while but when I tried using it my objects in the scene just turns black. Am I using it correctly?
You have to import simplepbr and call simplepbr.init()
before attempting to load any models.
No, this is definitely not the case. simplepbr is a separate module from complexpbr.
With regard to the original question, there are complexpbr sample programs which you can run. Have you tried any of those?
What models are you using? Do they have textures? Did you enable the default_lighting=True variable in complexpbr.apply_shader()? You could also add lights to your scene.
I misread it. My bad.
Hi, sorry for the late reply.
I have not ran any sample programs because I could not find any samples.
However, thank you for your suggestions and I will try them later.
Update: The models did have textures but metallic models were not properly rendered.
The reflections were not calculated at the right angle (e.g. when a cube is placed on top of a metallic plane, the reflections could only be seen at an extreme angle)