Copy corresponding pixels from different sized textures?

Started by
0 comments, last by e3d_ALiVE 14 years, 2 months ago
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?
Advertisement
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
Crazy dude smoking D3D11, AngelScript, PhysX, 3D Sound, Network, DB, FBX, and some other weird things, doing that on Visual Studio 2010 + Visual Assist X on Overclocked CPU

This topic is closed to new replies.

Advertisement