The problem of bending and scattering of light rays passing outside from the entrance to a wormhole with zero gravitational mass is considered. The process of ray capture by a wormhole as well as the process of formation of a shadow when illuminated by a standard screen is investigated. These mechanisms are also compared to the case of motion of light rays in the vicinity of the Schwarzschild black hole.