#Weird lines after adding shadows to my shader

1 messages · Page 1 of 1 (latest)

vagrant galleon
#

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