Search code examples
c#image-processingunity-game-engineshaderchromakey

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.


Solution

  • Here is an example shader that could be used: http://pastebin.com/rxJak3jB