In this paper, we propose a method for shape measurement of objects in water by pattern light projection with consideration of light refraction. Measurement of objects in water by photographic measurement methods has a problem of light refraction that causes image distortion. A ray tracing technique is used to solve the problem of light refraction. Object colors are estimated by considering light attenuation. Experimental results show the effectiveness of the proposed method.