Here is an example shader that could be used: http://pastebin.com/rxJak3jB
Chroma key shader for WebCamTexture in Unity3D
-
03-08-2022 - |
Frage
How can I make chroma key attribute to eleminate a color from WebCamTexture. WebCamTexture provides very limited control on texture.
Lösung
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