Shadows looks worst in high quality render than in viewport

thanks for the respond. The problem was some console variables i have in the render que