Depends on what you're trying to do. With the sun behind the planet you'll not see the planet because the lit side is not visible. IOW, you'd be looking at the shadow side of the planet. If this is not what you're saying, what is the specific problem you're having? The texture not showing up?