Rendering to a texture

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
dega
Posts: 14
Joined: Tue Oct 24, 2006 1:22 pm

Rendering to a texture

Post by dega »

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
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

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
Post Reply