Original Post
Sorry for my English. I do some things as follows: 1. Create two render-target texture S(scene) and B(bump). 2. Render scene to S texture. 3. Render some objects(object's texture only has red and green) to B texture. 4. Use B to offset S's texcoord for producing distort effect. (I used ps 2.0) In shader,sample B is ok,But use B(texcoord) to sample S don't correct for some pixel. I change S to normal texture (I read data from image file.) do step 3~4 ,result is ok. Who can tell me,how to solve the problem. //DirectX 9.0c //Geforce 5200 Thanks.