MV Problem with pixijs' filters

Hey there!
I've been working on a new lighting plugin for rmmv, but there's one issue that I haven't been able to figure out an answer for for a while now, and it's blocking me from making any progress on the plugin.
(note: I'm using pixi v5)

So here's the issue:
I have 2 PIXI.Graphics, both childs of the same container. Both have a simple rectangle, which I use to delimit the size of the light. I then use shader magic to render a light within these rectangles (so the rectangles aren't visible).
Now here's the issues I'm facing:
- I want my lights to look like they're in the map (view picture 1), but to do that, the "clear" parameter has to be set to CLEAR_MODES.CLEAR in the PIXI.Filter.Apply() function. The issue is that when I set it to that, it seems that the first drawn light is cleared before the second light is drawn, meaning that you can only see one of the lights.
- I also want to use the BLEND_MODES.ADD blendmode to have the lights add their rgb value together if they overlap. The issue is that it seems the previous frame's light isn't being cleared, so the lights keep adding onto themselves and becoming very bright.
Would someone know what I could do to find a solution to any of these two issues?

cool but overwritten.PNG
add bug.PNG
normal.PNG
Nvm fixed it! Answer was to add a new container and add the lights to it, and add the ADD blendmode to it, with a default filter that has it's clear tag set to CLEAR

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-pixijs-filters.138182/