Program a shader that only displays the visible edges

Hey everybody,

for a current project I have to program a shader that only returns the visible edges of the object as a wireframe model. My idea was to create a wireframe model of my object and then delete all edges between triangles with the same normal vector. Since I’m a total beginner in programming, I don’t know if this is the right approach or how to implement it in C#.

I am grateful for any help

The approach you describe is not something a shader could do; a shader is not written in C#; and this isn’t the right forum to be asking in. Try the ShaderLab subforum.