Chroma key shader for WebCamTexture in Unity3D

How can I make chroma key attribute to eleminate a color from WebCamTexture. WebCamTexture provides very limited control on texture.


Here is an example shader that could be used:

Check out the transparency shaders that come with Unity here. You simply need to update the alpha channel mask of your texture with the areas of the texture you want made transparent.

Need Your Help

Angular provider not working

javascript angularjs

I am learning Services in Angular. T tried service and factory and could get them working , but I am not able to get provider working. I checked out the solutions of few SO answers too, still could...