• Advertisement
Sign in to follow this  

Rendering to a region of a texture

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

Is it possible to do this in direct X 9? I'm rendering to a very large texture but I only want to update a relatively small region of it. Seems wasteful to render the whole thing?

Share this post


Link to post
Share on other sites
Advertisement
Just for completeness here some alternatives:
 
- Scissors (SetScissorRect)
- If you can define the shape easily with primitives, just render that (e.g. a quad to a certain part of your RT)
- Custom clip planes (SetClipPlane)
- clip/discard in the pixel shader (for more complex shapes)
- use the stencil buffer as a mask

Share this post


Link to post
Share on other sites

This topic is 900 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.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement