Light conditions are important to the manned spacecrafts in orbit for observing, control and operation. The paper first discussed the computing method of the solar radiation pressure of the spacecraft considering the simplified structure with cylinder and sailboard. And the line of sight for a spacecraft in orbit could be analyzed in the celestial coordinate system. Then the paper defined two shadow models cylindrical and dual cone, and gave the corresponding formula separately and the computing process for the dual cone model. At last the the paper took the orbital module of Shenzhou 7 and International space Station (ISS) as examples to show and compare the eclipse data in one day.