shader graph outline for sprites, how do you stop the edges getting cut off?
trying to do a simple 1px outline on sprites when you hover them, to show you can interact. shader graph in URP 2D. my approach: sample the main texture alpha 4 times with the UV offset by one texel up, down, left and right, add them up, subtract the original alpha, use that as the outline mask it works... except the outline is cut off at the edges of the sprite. like the top of the characters head has no outline at…