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?
- 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?