Image Based Lighting and dynamic directional light

If you are capturing the cube map yourself, then why do you need to get the direction of the light from it? You are placing the sun yourself, you can just read its position.