How can I use PixelShader to change image color? RRS feed

  • Question

  • I develop Silverlight application. I need to user PixelShader to change my image color by specify color as parameter.

    But I don't know the formula how to get new color apply with old color for each pixel.

    Before this post, I posted "http://forums.silverlight.net/forums/p/206832/485605.aspx#485605" but the result of color is

    incorrect. I think PixelShader should be correct answer but I don't know the formula to merge new color with old color of each pixel.

    Please help me to solve this problem.

    Friday, October 29, 2010 1:48 AM