LineShader
is a simple color shader because the fact that a line is drawn comes from the fill mode of the draw call: line instead of triangle.
Maybe this can help:
or:
You would need to convert it to a node material and make the thickness depends on the depth.
1 Like