Bump mapping.

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.

Very good DOT3 bumpmapping tutorial here : http://www.paulsprojects.net/tutorials/simplebump/simplebump.html