How to apply Canvas Shaders only to child nodes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By avencherus

I was wondering if this was possible. Whenever I create a 2D shader using something like a polygon or color frame, the effect samples all the nodes rendered behind the node with the shader applied.

Is there a way to have the shader only applied to the node itself and its children? I’d like to have more control over it, because I can’t organize it where everything has to be below the nodes with shaders.