Masking a second texture on to the first.

Blitz3D Forums/Blitz3D Programming/Masking a second texture on to the first.

Hey guys,

I have a mesh that has a texture in index 0 and I have a second texure with flag set to 4 for a mask (all the black areas should be ignored) anyway, it's still rendering the black on the second texture. Anyone know why. Here is my code sippit.

G\MapTex = LoadTexture("..\Texture_Map.jpg",48)
EntityTexture G\MapMesh,G\MapTex,0,0
G\MapSelTex = LoadTexture("..\MapSelTestImage.bmp",4)
EntityTexture G\MapMesh,G\MapSelTex,0,1