Chroma Key Pixel Shader Sample
Here’s the source to the WriteableBitmap and Pixel Shader sample I showed at Mix 2009. Click on the image below to run the sample (and have the Silverlight 3 Beta installed – you can get that here). Drag one of the images (or video) from the left and drop into the center area to see where WriteableBitmap is used. Drag the video on the right into the center to see the Pixel Shader in action. This sample will use a “shader” to mask out a chroma key (in this sample, the chroma key is black but the shader supports any color as a chroma key).
The demo shows the following new Silverlight 3 features:
- WriteableBitmap
- Pixel Shaders (chroma key shader)
- Drop Shadow Effect
Comments
Anonymous
March 23, 2009
PingBack from http://blog.a-foton.ru/index.php/2009/03/24/chroma-key-pixel-shader-sample/Anonymous
March 25, 2009
Nice blog post. Really enjoyed reading. Hope you'll like my fav article. Here's direct link http://techzone.enterra-inc.com/architecture/algorythm-of-defining-plain-polygon-signature-point/Anonymous
March 13, 2010
Cool, I also have implemented one video chromakey application based on directshow framework.