Skip to content

Tags

#shaders

Posts tagged #shaders on Dynamo Geeks: 1 post from the community, most useful first.

1 post

Posts tagged #shaders

  1. Question

    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…

    Jake Morrison2likes5comments