Skip to content
tobspr edited this page Nov 12, 2015 · 13 revisions

My textures look grayish, like they would have a limited color space.

Be sure to create your textures in the sRGB color space. Otherwise they will be displayed not correctly. Also, don't forget to call tex.setFormat(Texture.FSrgb) or tex.setFormat(Texture.FSrgbAlpha) after loading the textures.


My normals / lighting seems to be wrong

If your object has a bumpfactor of greater than zero but no bumpmap applied, the normals might be off and thus look strange, also affecting the lighting. Ensure the bumpmap factor is either 0 or you have a proper bumpmap applied!


PointLight has no attribute xxx

Make sure you don't do from panda3d.core import * or from panda3d.core import PointLight, since Panda3D also has a PointLight class. If you import the wrong class, you will get those errors.