How to use bump map in a md5 model?

how to use bump map in a md5 model ???



I tryed the same code that I saw in the TestBumpMapping example, but nothing happen.

I see the model with texture but without bump map.

I can't override the original texture of the model.


Should not really matter how you import your model as long as it's uv mapped afaik.

What happens when you run it?

you have to add both textures (the colorMap and the normalMap for the bumpmapping) to the Texturesatate of the Model into TextureUnit 1 + 2.

Be aware to copy the TextureCoords from textureUnit 1 to Unit 2.



If u follow the TestBumpMapping example it should work fine.