8

Can Silverlight play video with transparency?
At least some tricky way for color keying with C# or HLSL?
So if you know any way how to please post some info.

If yes. What do I need?

  • MSDN if there is any help on this.
  • Open Source Libs/wrappers.
  • Tutorials and blog articles on How to do it.


If no: I need know where did you get the information from (link to MSDN or other official Silverlight information resource).
mauris
  • 42,982
  • 15
  • 99
  • 131
Rella
  • 65,003
  • 109
  • 363
  • 636

1 Answers1

4

Yes, you can do that with Silverlight 3 and pixel shares. See here and here. Hope that helps. Can I ask what you're planing to do with it?

andyp
  • 6,229
  • 3
  • 38
  • 55
  • 1
    I plan on some tricky infinite multiple video layer loops) This filter from Shazzam Shader effects Samples might work to =) //________________________________ sampler2D implicitInputSampler : register(S0); //-------------------------------------------------------------------------------------- // Pixel Shader //-------------------------------------------------------------------------------------- float4 main(float2 uv : TEXCOORD) : COLOR { float4 color = tex2D( implicitInputSampler, uv ); if( color.r + color.g + color.b < 1.9 ) { color.rgba = 0; } return color; } – Rella Nov 08 '09 at 02:48