An Improved Method of Parallax Mapping with Pixel to Pixel Shift for Texture Coordinates
-
Graphical Abstract
-
Abstract
Parallax mapping is capable of representing the realistic texture rendering by shifting the texture coordinates along the view direction. However, an incorrect offset will lead to the sliding phenomenon in the texture image. In this paper, we obtain a corresponding relationship between the offset and current viewpoint by establishing a mathematic function of the texture coordinates and the height values according to parallax mapping theory. Furthermore, we calculate the correct offset of texture coordinates using GPU technology in which the sliding phenomenon does not show up when the viewpoint changes. Experimental results demonstrate that the proposed method can be used to achieve better performance in representing the realistic texture image rendering than traditional methods for parallax mapping and texture coordinates offset correction in terms of GPU technology.
-
-