Pixel Shader Effect Examples

后端 未结 2 1653
广开言路
广开言路 2020-12-28 21:48

I\'ve seen a number of pixel-shader effect examples, stuff like swirl on an image. But I\'m wondering if anyone knows of any examples or tutorials for more practical uses o

2条回答
  •  余生分开走
    2020-12-28 22:07

    One practical thing that pixel shader effects enable ... are blend modes.

    Check out Robby Ingebretsen's post on the matter (which discusses a useful way to take advantage of the linear burn blend mode). There is also a StackOverflow question on this subject as well.

    In fact, I actually have written a blend mode library for WPF & Silverlight, and make it freely available at my blog. Following is a list of all my blend mode posts (all of which have source code and binaries attached):

    • Blend Modes, Part I
    • Blend Modes, Part II
    • Blend Modes for Silverlight
    • Blend Modes, Part III
    • Blend Modes: Now Opacity Aware
    • Blend Modes: Hue, Saturation, Color, and Luminosity with WPF 4.0

    Hope this sparks your imagination ... and let me know if you toy around with the library!

提交回复
热议问题