Frage

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

War es hilfreich?

Lösung

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

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top