View Full Version : pixel shader

01-04-2004, 05:58 AM
i want to know how to write the code in pixel shader to compute the squared difference between pixels using the register combiners.

please help me i am in great need.


01-04-2004, 02:16 PM
the squared difference between which pixels do you want to compute? Register Combiners only work for one pixel at a time, so it's not possible to compute the difference between different pixels.

and why are you in great need because of this?