• Advertisement

Archived

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

how to render to a texture?

This topic is 5497 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

Please help. How can i do rendering to texture? I wanna render my whole scene into a texture and then I wanna map it on another object. How do perform rendering to texture? I know i have to use setrendertarget etc. but I don''t know how. Could anyone please help me? A bit of source code would help... Thank you all...

Share this post


Link to post
Share on other sites
Advertisement
Look at the Water example in the dx8/9 sdk. The caustics texture is created using the d3dx helper functions.

Share this post


Link to post
Share on other sites

  • Advertisement