Thanks Scraggle.
I get the following on my PC (nVidia GeForce FX 5200 128MB):
1. Standard texture no mapping : 188 fps
2. DBP Bump Mapping : 120 fps
3. GG Bump Mapping v1.0 : 92 fps
4. GG Bump Mapping v1.0a : 112 fps
5. GG Bump Mapping v1.0c : 113 fps
6. GG Bump Mapping v1.0d : 116 fps
7. GG Bump Mapping v1.0e : 130 fps
and similar results on my laptop (but, like yours, 1.0d was slightly faster). Can I have your PC please?
Quote: "There is no version 1.0b - I presume that is just a typo in your code."
Not a typo - there is a version 1.0b (and 1.0f, 1.0g, etc) but I had to draw a line somewhere ... (I thought of relabelling them all - but the consequences could be dire ...)
Quote: "I think DBP's would be better if called gloss mapping instead"
Indeed.
Interesting that there's not much difference in speed on your machine. I guess that's the usual thing that you can't get much improvement beyond a certain point because of all the other things the PC is trying to do per frame.
I'm thinking of extending the shader to deal with two or three additional lights (Lee says my earlier attempt on the WIP thread is too "heavy" - and I agree). Your comments might help spur me into action!
Cheers!