Hello, I’ve a problem. In my application I have a background image and a model that I would show with cartoon ink.
But, when I apply the cartoon ink (in the example, clicking the left mouse button), the image disappears. Surely I’m doing some mistakes. This is the code:
The post-process quad covers your lower display regions, so what you see is that opaque quad.
Actually, that quad’s texture already has transparency (from the display region’s clear color), but the devs forgot to enable transparency.
So, insert this line to /direct/filter/FilterManager.py, in renderSceneInto :
Thanks for the answer! Your solution works perfectly for the scenario described. But I’ve seen a side-effect in my larger application. If I add a particle effect:
the image remains, but now, when I apply the filter (clicking the left mouse button), the particle effect disappears (here the zip file of this second example). But, if I remove your fix, the particle behaves correctly (but obviously I have the previous problem).
So, how can I maintain both image and particle after the filter’s application? Very thanks!