NormalizedByte4 Texture2D gives different results from XNA

I managed to get the shader to work. I built the texture in XNA in the Vector4 format instead of the NormalizedByte4 format, and everything became better.

Now my only problem is that MonoGame has an issue that prevents the SpritePacker Copy from working with Vector4 bitmaps. I created a separate post for that:

For now, my workaround will be to compile the spritesheet in my old XNA project and transfer the .xnb file to MonoGame.