• Advertisement

Archived

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

Render to a texture.

This topic is 5945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey Chris, do you think maybe with the next patch you could make a simple render-to-a-texture example? Thanks. -Rich

Share this post


Link to post
Share on other sites
Advertisement
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
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
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

  • Advertisement