Won't change the shadow resolution of the sun during runtime

if anybody want the solution I found it and post it here.