normalmapping animated meshes

Miscellaneous Forums/Graphics Showcase/normalmapping animated meshes

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.

Red,
I have a 9200 (Mobility) here. I had same problems as you.
After removing the cubic environment flag (128) from the LoadTexture commands the models show up.
Sadly the results are nothing like the screenshot.

Modifications:
;cubemap for normals
nmap=LoadTexture( "cube2.png",1) ; << 128 removed
SetCubeMode nmap,2
TextureBlend nmap,2

;cubemap for lightcolor
lmap=LoadTexture( "lcube.png",1) ; << 128 removed
SetCubeMode lmap,2
TextureBlend lmap,2



*** EDIT ***

adding 256 (store texture in vram) does the trick for me:

;cubemap for normals
nmap=LoadTexture( "cube2.png",1+128+256)
SetCubeMode nmap,2
TextureBlend nmap,2

;cubemap for lightcolor
lmap=LoadTexture( "lcube.png",1+128+256)
SetCubeMode lmap,2
TextureBlend lmap,2