How can I make chroma key attribute to eleminate a color from WebCamTexture. WebCamTexture provides very limited control on texture.
Asked
Active
Viewed 7,890 times
4
-
Please expand upon your post - What are you trying to do at a high level? What have you tried so far? – S.Richmond Nov 21 '13 at 22:02
-
I am using Aforge but now in unity3d. I can detect color and highlight those but I want to eliminate that color just as we do with chroma key technique. later I ll apply this trick in Unity3D. – Zeeshan Anjum Nov 21 '13 at 22:12
-
I want to make a software that can capture realtime video using webcam and remove chroma key based on user selected color. – Zeeshan Anjum Nov 21 '13 at 22:14
-
1Here http://u3d.as/6A4 you've got a shader I made for this purpose. – rodripf Jun 05 '14 at 16:19
2 Answers
0
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.

S.Richmond
- 11,412
- 6
- 39
- 57