PDA

View Full Version : dot3 normal mapping and per-pixel lighting?



bansheeogl
06-06-2005, 07:41 PM
Is there anywhere where they provide a c++ example or at least a tutorial to see how to enable normal mapping on a mesh? and also how to use per-pixel lighting instead of per-vertex? because if not ill have to subdivide my models and that will drop the speed a lot!!! they are head models and characters so imagine i need nice lighting on their faces and clothes i have good models and normals maps generated out of high quality versions of each model but i dont know how to apply them and calculate lighting etc is there any tuto for this out there? i cant seem to find anything useful thanks

dorbie
06-07-2005, 04:11 AM
http://www.paulsprojects.net/tutorials/simplebump/simplebump.html

http://www.paulsprojects.net/opengl/bumpmap/bumpmap.html

http://www.paulsprojects.net/opengl/dpreflect/dpreflect.html