DirectButton Appearance

You can use your own images instead of the defaults.
Assign a NodePath with a GeomNode containing the image of your button as a texture.
This is a bit messy to do with Panda as the DirectButton constructor expects a geom (well NodePath containing GeomNode) instead of an image file, and there is no function to load images as planes and respect the “proportions” of the image.

I use something like this:
[loadImageAsPlane())
and do

DirectButton(geom=loadImageAsPlane("myImage.png"))

Hey wezu, MAlpha is just fine for GUI.

EDIT: There’s also the “image” keyword for DirectButton and the rest but it “stretches” the image as texture to fit the default geom, not the other way around.