PDA

View Full Version : pixel shader



01-04-2004, 06: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.

alankritha

JanHH
01-04-2004, 03: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?

Jan