gfx.pushLayer(..., filter); demo.
gfx.pushLayer(..., filter);
The star and circle should be on the same layer and the layer gets drawn with: