Having trouble rendering BAM models

I’m trying to render RGB and depth images of some 3D models using Panda3D code called from Python. The depth images seem to turn out fine, but the RGB images simply appear as a binarized (black and white) silhouette. Any ideas why this might be? The code I am using is more less the following: github.com/lmb-freiburg/mv3d/bl … est_set.py

I am using the pandagl display (using the p3tinydisplay results in binarized depth maps as well as RGB images, as per [url]Code working with pandagl but not p3tinydisplay]).