PDA

View Full Version : Bump mapping.



glAntony
09-11-2003, 03:46 AM
Hiya,

I've got to the stage of my engine where I want to add bump-mapping.

The way my engine works, I can specify textures to a entity and set what blending mode each texture uses.

So in that context, how would I go about it?

I've tried GL_Blend for the base and dot3 for the secondary texture but no luck.

Also, what is the best method? I have a g4-4600, and I recall hearing it offered direct support for hw bump-mapping, rather than doing it manually.

Any help? I'm in over my head here. http://www.opengl.org/discussion_boards/ubb/wink.gif

kehziah
09-11-2003, 04:08 AM
Very good DOT3 bumpmapping tutorial here : http://www.paulsprojects.net/tutorials/simplebump/simplebump.html