Original Post
New to multipass technology. I have some problems in implementing such algorithms.
1. According to D3D Documentations, a multipass algorithm should set SRCBLEND and DESTBLEND. But it didn''t mention how to do that. Can anyone tell me how to set the blending mode in D3D when doing multipass?
2. Since vertices have several set of texture coordinates, how to let the hardware know which set to associate with certain texture stages? Say I want to use the (u2,v2) in the second pass. But if I set the second texture to the texture stage 0, I will only get those rendered with the (u1,v1) coordinates, not (u2,v2). I got puzzled.
Thanx in advance for any good comment.