Bump mapping : Normal mapping & Parallax Mampping

Texture and normal mapping are standard effects in modern game. However, another bump mapping technique - Parallax Mampping,  with offset limiting is today considered the state of art of real-time bump mapping. My demo draw two teapots,  first one use normal mapping(left), second one use parallax mapping(right). parallax mapping need the normal and height data. Generally, we put the them into one texture.

 

screenshot:

Bump mapping : Normal mapping & Parallax Mampping

 

source code can download from here.

你可能感兴趣的:(mapping)