Shader applied to UI Objects with children

Hello everyone

I’m implementing a shader that receives some parameters to cut out an UIPanel and apply shadows on the component surface.
However, this UIPanel have some children. I would like to know if is possible to affect the children using the shader applied to the parent.
Currently I’m also applying the shaders to children to cut them. But it is causing a bug that shadows are overlaping the other ones.

Thank you!

I seem to have the same question as you, my friend. :expressionless: