79609848

Date: 2025-05-07 05:42:48
Score: 2
Natty:
Report link

I got this working, but the actual problem was a floating point error. There may have been other issues, but I have since resolved them if you would like the asset you can find it here: https://assetstore.unity.com/packages/vfx/shaders/sprite-renderer-palette-swap-shader-urp-316189.

Also as buttermilch said I may have been passing incorrectly using vertex color, although I think it's used here for the purposes of lighting since this is a lit sprite shader, idk this is like 75% copy pasted from the default unity sprite lit shader.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brad Jones