Texture Masking!

Blitz3D Forums/Blitz3D Programming/Texture Masking!

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.

Im trying to get arrows to show in full with a masked image
now it works ok with
loadtexture("....",2) the arrows show up like i need them but in low res

when i create a texture with a mask the arrows dont show up at all! In fact the entire sprite doesn't show up.
what am i doing wrong?

mainArrowsTexture = CreateTexture(256,4096,2)
	;mainArrowsTexture = LoadTexture("graphics/allow.png",4+VIDMEM)

	texwidth=TextureWidth(mainArrowsTexture)
	texheight=TextureHeight(mainArrowsTexture)

	SetBuffer(TextureBuffer(mainArrowsTexture))
		DrawImage tmp,0,0
	SetBuffer(BackBuffer())