How did the invention of photography impact the Civil War?

It served to take away the romance of battle and show the grim realities of war. It was the first time people, other than eyewitnesses, saw the death and destruction.