normalmapping problem

Blitz3D Forums/Blitz3D Programming/normalmapping problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Lets see if I got it right by reading your code:

- apply "light to vertex normal" vertex colors for the ball
- create cubemap from inside ball view (at least at beginning..?)
- apply that cubemap to animated 3d model

basic idea should be ok... but I have no clues why normal mapped model does not look "right", mayby vertex color calculation is not right or something. I'll try to dig bit deeper later tonight.

edit: normal mapping of your walking man seems to be bit off, there are seams and weird sudden color changes that will make dot3 lighting appear quite messy. Mayby you should try with simpler static object and see if it starts to show OK?