How to enable Alpha to coverage in panda3d

Hi I am about to make a heavily vegetative game in panda3d and read that I can more efficiently use transparency with MSAA and Alpha to coverage. Does panda automatically enable this or do I need to do some special setup for this? What is required to get this up and working. Note i would prefer to set this up per node but If it requires for every object to be sampled this way that is fine too and I would like to know as well how to set this up for the whole scene.

Based on this old post, it looks like this is activated via the “MMultisample” transparency mode.

[edit]
And I see from this old post that the following settings are called for (either in your PRC config-file or–before your program–via calls to “loadPrcFileData”):

framebuffer-multisample true
multisamples 8
2 Likes

cool thank you.

1 Like

Thanks! i been struggle with transparency for some time and now i get solution.

1 Like