Archived

This topic is now archived and is closed to further replies.

PsycoBlade

Render to a texture.

Recommended Posts

ChrisE    184
There is already an example of this in \examples\intermediate\ProceduralTexture. Use the code I just posted on the forum to find out the pixel format.

I''ll be making a tutorial in the future but I think the code pretty much explains how to do it.

Share this post


Link to post
Share on other sites
PsycoBlade    122
What I meant was instead of the rendering output of whats going on the screen to go to the back-buffer, it goes onto a texture instead. I thought this was what you used to do the reflections on the water. Am I wrong?

-Rich

Share this post


Link to post
Share on other sites
ChrisE    184
Oh sorry. Wrong thing.

Yes the rendering to a texture is used for the water reflections, and also in the projected shadow example. I can make a tutorial for that as well.

Share this post


Link to post
Share on other sites