Fading from one texture to another.

Blitz3D Forums/Blitz3D Programming/Fading from one texture to another.

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.

Let's say I have a cube which has a texture on it.

I then have another texture which I load sperately.

Now I want to gradually switch between the two textures so as one fades away the other one becomes more prominent. So they would both hit alpha 0.5 at the same time.

I know I can multi texture to get both textures on the same object at the same time but how can you adjust the alpha of a texture on the fly (i.e. fast enough to do in realtime).

I tried EntityAlpha but as expected it doesn't work for textures.

Anyone done this already?

Thanks,

Darkheart