#I need fix for my distortion shader code

1 messages · Page 1 of 1 (latest)

twin pasture
#

So I managed to vibe code (Shame on me, I know) A distortion shader that I've spent countless hours trying to tweak to get rid of this particular visual artifacting where shadows and geometry edges have contrasting pixels. this issue has happened to me before and I can't for the life of me figure out on how to fix it... in one project it works more or less fine, where the shader was originally coded in. but copying the shader to another project of the same unity version creates this visual artifacting where it creates this contrasting artifact... I exaggerated the blur and distortion in the second picture to make the effect more visible. when set to lower settings, it's less noticeable but it shouldn't be there to begin with. anyone has had this issue before? could be a blending issue but I don't know for sure. it's NOT postprocessing, nor an alpha mask texture with darkened pixels, I can confirm that.

#

in the other project however, it looks fine, even though it is the exact same shader code, and unity version. what gives?