So I've been using Unity 2021 for a while now and finally decided to switch to Unity 6.
I tried using a shader I made in Unity 2021 which just replaces the grays from an image with a given set of colors.
You can see in the attached images that in Unity 2021 the shader works, but in Unity 6 it doesn't. I've noticed that changing the range to 0.0001 solves the problem, but I don't know why or if that's normal.
The sprite is pixel art, so no gradients, just clear pixels.
I've also noticed a new option on my materials "Enable GPU Instancing" and I'm not sure what it does or if it should be turned on.
Thanks for help in advance.