Zanir » Blog Archive » Program 10 – DOT3 bump mapping

Program 10 – DOT3 bump mapping

20.02.2004

010_DOT3_bump_mappingDot Product 3 Bump Mapping is lighting surface per pixel. It uses operator dot product. Lighting is computed with equestion:
color = ambient x Texture + (N.L)Texture + (N.H)^SpecExp x SpecularColor.
Program loads 3ds file and uses vertex shader for compute L and H vectors. It is similar to OpenGL program 24.

Request: multitexture and operator DOTPRODUCT3.
source code and executable – 930kB

Leave a Reply