Page 1 of 1

Screen, Sprite and RenderToTexture

Posted: Sat May 30, 2015 7:23 am
by [blendman]
Hi

I would like to render some sprites on a "surface" (render to texture). But I think it's not possible for the moment in purebasic.

I would like to draw(on the screen for example) :
- some sprites (under)
- the surface / render to texture (on which I draw sprite, and shader eventually)
- the other sprites (above)

Do you know how I can do that in purebasic ?

I know that MP3D can do that, but in "native" (with sprite/screen) I don't know how to do that. Perhap's there is an include that helps to do that, but I don't know if it exists.
Do you know How I can do that ?

Thank you.