I'm a beginner when it comes to shaders so I might have made a very basic mistake somewhere. some of the code is copy pasted from forums. While I think I understand what it's doing, I do not understand why would those lines appear. they seem to go on the triangle lines. If anyone knows the reason, I'd really like to know.
Shader code:
https://pastebin.com/vM3h7nnz
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.