Added check to not render Shadowmap if shadow disabled