Render to texture?

Blitz3D Forums/Blitz3D Programming/Render to texture?

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.

This comes up a lot. To me it's a major ommission.

Currently you have to render to the backbuffer and then do a copyrect to the texture buffer. Cumbersome and slow.

Another problem is you are limited by the size of the backbuffer. In sticky balls I wanted to do a shadow texture of 512x512 but this didn't work if the user set the game to run at 640x480.

I think it would be better if blitz had a proper render to texture feature; Even if on some (most)cards it does it the slow way (behind the scenes).