Skip Navigation LinksHome / Search


Results Per Page

Found 28 results for Pixel Shaders.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • Chroma Key Pixel Shader Algorithm

    0 comments  /  posted by  Silverlight Show  on  May 15, 2009 (more than a year ago)
    Michael S. Scherotter has just uploaded a simple demo application that shows the Silverlight 3 Chroma Key Effect in action.

    If you watch the demo, you’ll notice ghosting along the edges of the dancers – obviously I need help with my pixel shader algorithm.

  • Alpha Video with Silverlight 3 Pixel Shaders

    0 comments  /  posted by  Silverlight Show  on  May 14, 2009 (more than a year ago)
    Michael S. Scherotter will answer the question "Does Silverlight support Alpha Video where video has transparent regions to ease compositing?".

    One of the foundational new features in Silverlight 3 (to be released later this year) is the GPU-based Pixel Shader support like WPF already has.  You can use any pixel shaders created for WPF for Silverlight applications.  The WPF Pixel Shader Library on CodePlex now has a Silverlight 3 library as part of the source code.  One of the shaders in that library is a simple color key pixel shader.  I started with that shader and adapted it by adding color and tolerance properties as well as design-time support for Expression Blend 3 and an installer that adds the shader to Expression Blend Asset panel).

  • 0 comments  /  posted by  Silverlight Show  on  Apr 26, 2009 (more than a year ago)
    David Kelley has been playing with pixel shaders and Silverlight 3 and decided to share his work with you.

    Personally I'm into simple code. Code should be as simple as possible todo the job and no more complex then needed. Case in point. Unless there is a strong reason to write my own command structure in Silverlight I'm going to go MVP or pMVP until I can see in Silverlight that MVVM is not just extra work (ie as when they get it to work like it does in WPF). Keeping this in mind I have been playing with pixel shaders. I tried this kind of thing by hand from scratch in Silverlight 2 and using Stegmens editiable bitmap class I could 'kind of' make this work however it was WAY to complicated to be reasonable. However with Silverlight 3 we have PixelShader support so we are gold.

  • 8 comments  /  posted by  Boyan Mihaylov  on  Apr 05, 2009 (more than a year ago)


    Silverlight 3 beta is out and it introduces a great variety of new functionality. Tim Heuer has already published a guide to the new features in Silverlight 3.

    Element effects in Silverlight 2 are missing. This means that if you want to make your elements more attractive, you have to write your own effects. Silverlight.FX introduced a great number of effects and animations, which you can use. Nikhil Kothari has written a number of posts to show you the capabilities of this small but powerful framework.

  • 5 comments  /  posted by  Nikolay Raychev  on  Apr 02, 2009 (more than a year ago)
    Silverlight 3 comes with two built in Pixel Shaders:

    We have the following image:

    We want to blur it:

    <Image Width="300"   
            <BlurEffect Radius="8"></BlurEffect>

    We have the following result:

    Note the Radius parameter. The bigger the radius is, the more blurred the picture is.

    Now let's make a shadowed picture:

    <Image Width="300"   
            <DropShadowEffect BlurRadius="30" Color="Gray"
                Direction="-45" Opacity="0.5" ShadowDepth="20">

    The result:


    The DropShadow effect has several parameters:
    • BlurRadius - the bigger the radius is, the more blurred the shadow is.
    • Color - the shadow color.
    • Direction - an angle specifying the direction of the shadow. If you set it to zero the shadow will fall on the right side.
    • Opacity - the shadow opacity.
    • ShadowDepth - it specifies how far (deep) from the picture the shadow will appear.

    You can define your own Pixel Shaders using a special language called HLSL. But this is beyond the scope of this tip.

  • Silverlight 3's New Pixel Shaders

    0 comments  /  posted by  Silverlight Show  on  Mar 26, 2009 (more than a year ago)
    Jeff Prosise has an article about one of the new graphical goodies in Silverlight 3 - the pixel shaders.

    A pixel shader is an object that transforms pixels output from the rendering pipeline before they're rendered to the display surface. Silverlight 3 Beta 1 comes with two pixel shaders: BlurEffect and DropShadowEffect.

  • Samples from MIX09

    0 comments  /  posted by  Silverlight Show  on  Mar 24, 2009 (more than a year ago)
    Joe Stegman posted the source to the WriteableBitmap and Pixel Shader sample that he showed at Mix 2009. He also published a sample that uses WriteableBitmap to take a "snapshot" of the running video to make a thumbnail and the Perspective3D demo.
  • Silverlight 3: Pixel Shaders and Effects

    0 comments  /  posted by  Silverlight Show  on  Mar 19, 2009 (more than a year ago)
    Here is another post of Andy Beaulieu about Silverlight 3. It is concentrated on pixel shaders and effects.

    In Silverlight 3, Shader Effects (aka Pixel Shaders) allow you to modify the rendered pixels of any UI Element before they are composited to the current view. They can be used to add effects to screen elements including shadows, blur, grayscale, redeye removal – pretty much anything you can accomplish by tweaking pixels using an algorithm. Normally, pixel shaders are done using the GPU (video card), but currently in Silverlight 3, Pixel Shaders are rendered using a software-based algorithm.  This means that Pixel Shaders in Silverlight aren’t nearly as fast as they might be using the GPU.

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)