Multitexturing problems

Blitz3D Forums/Blitz3D Beginners Area/Multitexturing problems

Nebula Productions(Posted 2004) [#1]
Hi

For my new game it is necessary to use Multitexturing but I have encountered a problem when I use a colormap + mask + spheric reflection map. The point is that I cant get the light influencing the colormap...
I use this code which works fine but the effect is like EntityFX 1

multi01 = LoadTexture("models/ships/shared/env_map01.png",64)
multi02 = LoadTexture("models/ships/neu/mask.png")
multi03 = LoadTexture("models/ships/neu/color.png")

EntityTexture transporter,multi01,0,1
EntityTexture transporter,multi02,0,0
EntityTexture transporter,multi03,0,2

TextureBlend Multi01,3
TextureBlend Multi02,3
TextureBlend Multi03,2

I have tried various combinations but the best result I got was that the reflection map was applied to the whole model and the model's side not turned to the light was completly black...
P.S. If I dont use a spher.Map everything works fine!


eBusiness(Posted 2004) [#2]
Try another video card, the one you use might not be in the right mood.


Nebula Productions(Posted 2004) [#3]
I use a Radeon9700 and the newest Catalyst so this shouldn't be the problem...

As I said the problem is the sphericalreflectionmap. If I don't use the parameter 64 and slight other blendmodes/layers it works absolutly normal.


WarpZone(Posted 2004) [#4]
Did you try updating your video card's drivers? You can download the latest drivers from your card manufacturer's website, and sometimes this can fix a lot of mysterious problems.


Nebula Productions(Posted 2004) [#5]
As I said I use the newest driver(Catalyst 4.7) but the problem is still there... I also reupdatet it, without succes.

I think I will put an example online...


Nebula Productions(Posted 2004) [#6]
Finaly I got the file online...

www.motf-clan.coolfreepage.com/bin/shadows.zip

As you (should) see, the colormap is not lighted out as it should and in this example even the spheric.map doesn't work correctly!


koekjesbaby(Posted 2004) [#7]
You do not have access to this document



Nebula Productions(Posted 2004) [#8]
It should work if you use paste and copy...