(geometry nodes) curve based crossing decals?


The idea is to create a decal system with intersections (crossing).
The problem is the overlapping profiles.

This is my approach, you draw a curve on a surface (intersection would be nice but for the sake of simplicity, the overlaps would only have to be at nodes).

Then you would have to outline the curve. The large distance is only for better clarity.

This is what it would look like with a curve profile.

This is what it should look like, just with adjusted corners.

The texture could be implemented either with normal maps or with bump maps (looks a bit washed out and could be better).

I’m just a geometry nodes beginner and it’s often beyond my horizon :).
Maybe these implementation ideas can help.