Thank you. I understand your answer to K9Kraken’s question better now.
I meant that I did not use any shader in panda3d (not even the auto-shader), which I know now do.
I tried the following:
First, adding the following two lines to my code:
loadPrcFileData('', 'framebuffer-srgb true')
render.setShaderAuto()
This did not result in any visible change:
Next, I wrote directly into the Config.prc-file, disabling the model cache (because of K9Kraken’s problems, just to be sure) and enabling the srgb-framebuffer:
framebuffer-srgb #t
This resulted in the predefined environment losing color, but my object stayed the same:
(Also, I realize that this topic might be similar to this one, so I am adding the link for other people looking around.)