A More Useful Multi-Input Effect

In my last post, I introduced multi-input effects, where you can send in arbitrary WPF brushes that are interpreted as samplers in the shader.  The example I did just showed simple image combination via linear combination of pixel values — illustrative, but not very useful. In this post, I’m going to demonstrate a more useful…

5

Introducing Multi-Input Shader Effects

Thus far in this series on Effects, we’ve discussed building and using Effects that have a single “texture” or “sampler” as input to them.  In the Beta of .NET 3.5 SP1, that’s all that was available.  With the RTM release, we’ve added the ability to provide multiple samplers as input to the pixel shaders that…

11