Multi Texturing & lighting...

Blitz3D Forums/Blitz3D Programming/Multi Texturing & lighting...

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.

Can I tell you what's working for me?
Terr\hbmpclr2 = LoadTexture("Ground\rockunder.bmp") 
EntityTexture Terr\hent,Terr\hbmpclr2,0,1
Terr\hbmpclr = LoadTexture("Ground\grass.bmp") 
EntityTexture Terr\hent,Terr\hbmpclr,0,2
TextureBlend Terr\hbmpclr2,1
TextureBlend Terr\hbmpclr,2

This means that the 'under' texture is loaded first, at layer 1.
The main texture is loaded second, at layer 2.

You seem to be using blend 2, then 3.
I've found that that best results are to be had by using blend mode 1 on the under texture, then blend mode 2 on the main texture.

On the subject of laptops, I've seen some wacky effects not found on desktop machines: on my brother's laptop my 3 animated meshes won't display, only 2 will ever show wihin the camera view, the third just disappears!
But we cannot repeat this 'anomaly' on _any_ other machine, laptop or desktop.

Trust laptops? I don't think so.