Sign in to follow this  
danromeo

Copy corresponding pixels from different sized textures?

Recommended Posts

Hey. Thanks for your time. If I have two different sized textures and I want to copy certain pixels from the low res texture to the corresponding location on the high res texture, how can I do that?

Share this post


Link to post
Share on other sites
depending from your API
you can DX10 UpdateSubResource/Map functions to copy area from 1 texture to another
DX9/OGL lock and unlock ur texture copy data from it
Shader way: copy it in shader with full screen quad

for more help try specifying your API, what u wanna achieve by that, e.t.c

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this