Shader sprite global to local

For now I set position of sprite center as shader uniform. But if I can do it in shader it will be better.

Why? You set world matrix for models. Why not set it for sprites?