Alpha Channel Problem

Blitz3D Forums/Blitz3D Programming/Alpha Channel Problem

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.

Don't worry, I fixed it myself. The answer was to clamp down the uv textures thus:

spritetexture=LoadTexture(file$,50)

where the 50 means:
2 - Alpha Channel
16 - Clamp Down U
32 - Clamp Down V

It was wrapping the texture around. The horizontal line was coming from the bottom of my texture and wrapping round to the top.