MSAA for a p3d game?

Is it possible to run Panda3D game with MSAA?

Yes. Put this in Config.prc:

framebuffer-multisample true
multisamples 8

And enable this on your scene graph:


tnx man, BUT I have like 800 .py files that are connected, and I want the MSAA applied on all is there an easier solution?

It doesn’t work that way. You don’t need to add it to all .py files; just put that line of Python code in a location where initialization is done, eg. the part where ShowBase is first instantiated (or DirectStart is imported).

I think you may also be able to use these three Config.prc lines alone:

framebuffer-multisample true
multisamples 8
default-antialias-enable true

…but I’m not 100% sure.

it worked tyvm, simple as that was it