how to render to a texture?

Started by
1 comment, last by jakubricny 21 years, 2 months ago
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...
Advertisement
Have a look here.

--helicon56.
Look at the Water example in the dx8/9 sdk. The caustics texture is created using the d3dx helper functions.

This topic is closed to new replies.

Advertisement