Dot 3 Texture Blending

Blitz3D Forums/Blitz3D Programming/Dot 3 Texture Blending

_PJ_(Posted 2005) [#1]
Using Blitz3D Texture commands, I tried to implement some bump-mapping to help give some meshes a bit of a rougher looking surface, however, it merely seemed to overlay the verts with plain black or plain white...

Is this supposed to happen, did I use it correctly? Some examples/tutorials (plus a sample texture perhaps) would really be useful!
Not the best description, sorry... Here's more details of what happened, including screenies.

(Note, the images are about halfway down)


Please reply here or on the GA forums, or send code/images etc by email. Thanks loads!


Dreamora(Posted 2005) [#2]
You did not use it correctly. You have to adjust the vertex colors according their vertex normal directions.
Fredborg did a god sample of it, think there has even been a tutorial on it.