Page 1 of 1

transparent sprites on sprite3d buffer

Posted: Sat Sep 16, 2006 8:21 pm
by coma
Hi.
I try to draw some sprites with transparency into another sprite, but without success.

for example :

Code: Select all

      UseBuffer(0)
         displayTransparentSprite(4,0,0)   ; >>> not displayed
      usebuffer(-1)
sprite 0 is a 3d sprite.
with classic sprite buffer, it works, but when the buffer sprite is created with #PB_Sprite_Texture, no transparent sprites are displayed.

(I need to use a 3Dsprite buffer to zoom it, later, when I display it on the screen)

is there any way to do this ?

Posted: Sat Sep 16, 2006 8:37 pm
by netmaestro
It's been asked for iirc, but atm it's not supported afaik.

Posted: Sat Sep 16, 2006 8:50 pm
by coma
thanks.

well, I found a solution, not very beautiful, I use an intermediate buffer :

I draw all my sprites on another classic sprite (here transparency works fine), then I draw it with displaysprite() on my sprite3d buffer.