|
Hello, I have a video texture that I have applied to a plane, and the video has an alpha background. How do I get it so that the alpha (transparant) is also applied to the plane? Right now, the alpha is black. Thanks
(comments are locked)
|
|
Unfortunately, Theora, which is the video codec used by Unity, only supports RGB, no Alpha. The only known workaround is to use two MovieTextures, one with the RGB data, and one with the alpha, and use a custom shader to combine the two.
(comments are locked)
|
|
So there is only one way to have an Alpha on a video on unity ???? movie texture ? So i can't export it for an augmented reality ap on my android isn't it ? That wasn't an answer, it was a comment. But this was an old post, before more formats were supported. I don't know if any of the current ones do support alpha (why, oh why, didn't mpng or mng ever get support?). But use green-screen techniques, see other answer.
Feb 26 at 10:27 AM
DaveA
(comments are locked)
|
|
You can use a 'green screen' shader. There's on in the Asset Store already or you can wait for mine which should be posted soon.
(comments are locked)
|

As far as I know video doesn't support alpha ... how did you create and compress your video?