so say we would change the render loop for the fog and trace the fog
within the container: bye bye filter... because it is screen size.
One possible option for this technic would be using the xy coordinates
of each tris within the layered child, and draw a sort of masked fog
shape, not impossible but it might be very expensive.
but we would know for sure if someone try it...
Another option would be to calculate the in betweens of the fog layers
and their influence, then set the resulting color to each tri within
the container using a colortransform.
And there is probably another one: the one that works....
Fabrice