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:

 

source code can download from here.

posted @ 2010-03-07 23:07  vibilin  阅读(393)  评论(0编辑  收藏  举报