how to compose two images according to their zbuffer values?

i have got two images’s RGB and their zbuffer values with i want to compose them together by comparision of zbuffer values. if i do it pixel by pixel, i’m afraid it will cost a lot time. i also want to reach 20 frames per second. who can give some suggestion on it? thanks

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.