 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
dega

Joined: 24 Oct 2006 Posts: 14
|
Posted: Tue Nov 07, 2006 9:14 am Post subject: Rendering to a texture |
|
|
I am having a lot of trouble rendering to a texture. I create the memory for the texture and use sceGuDrawBufferList, but nothing gets drawn to it (not even cleared out with sceGuClear) yet when I use sceGuDrawBufferList to draw back to my frame buffer, I can render the rest of the scene just fine. I guess my question is, is there anything special that I have to do to get sceGuDrawBufferList to actually let me render to a texture?
Thanks a lot!
- dega |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Wed Nov 08, 2006 4:05 am Post subject: |
|
|
As on PC, the GU can only render to VRAM (though on PC you don't see it that clearly, because DX/OGL does the texture management). I suppose you are trying to render to a texture in system RAM, which is not possible. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|