x


How do I use Movie Texture with alpha channel?

First time Unity user.

Is is possible to use a movie's alpha channel to control transparency of a texture? Or do I need to use a second grayscale movie that only contains the matte?

How CPU/GPU intensive are movie textures -- can many be played simultaneously? Anyone have any movie texture examples I could look at?

more ▼

asked Dec 15 '09 at 11:47 PM

navparker gravatar image

navparker
52 6 6 9

Does Unity 3 change/improve performance on how Quicktime movies as textures are handled?

Sep 28 '10 at 05:08 PM navparker
(comments are locked)
10|3000 characters needed characters left

7 answers: sort voted first

Check this thread out, all you wanna know it's there, in detail:

http://answers.unity3d.com/questions/2263/movie-texture-blending

more ▼

answered Jul 06 '10 at 03:33 AM

MaDDoX gravatar image

MaDDoX
165 8

(comments are locked)
10|3000 characters needed characters left

I believe Unity uses Theora as video format which doesn't support alpha channel. There was a qt plugin for unity, but believe it isn't really kept up-to-date and didn't work under windows and probably won't ever work for web-plugins.

It should be possible to make it work using a second movie that has luminance as alpha, of course, you first have to be able to extract the alpha channel in a second movie and second play the streams back perfectly in sync.

more ▼

answered Dec 16 '09 at 02:12 AM

Jaap Kreijkamp gravatar image

Jaap Kreijkamp
6.4k 20 26 70

(comments are locked)
10|3000 characters needed characters left

Agreeing with Jaap.

Split the movie into an RGB version and an alpha version and then use them as seperate channels. We wrote an MOV material last month for this thing we're doing but I'm not sure we can give it away quite yet. Lemme check.

It would be cool to see if the two channel movie texture works on the web.

:s.

more ▼

answered Dec 16 '09 at 04:12 AM

spencer lindsay gravatar image

spencer lindsay
207 7 9 22

(comments are locked)
10|3000 characters needed characters left

what type of shader should i use to put the 2 movies? and is there a way to use only one quicktime movie (exported with alpah from flash)?

more ▼

answered May 25 '11 at 03:57 PM

amit gravatar image

amit
16 5 5 5

(comments are locked)
10|3000 characters needed characters left

what type of shader should i use to put the 2 movies? and is there a way to use only one quicktime movie (exported with alpah from flash)?

more ▼

answered May 25 '11 at 03:58 PM

amit gravatar image

amit
16 5 5 5

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2197
x328
x244
x107
x9

asked: Dec 15 '09 at 11:47 PM

Seen: 9064 times

Last Updated: May 25 '11 at 03:58 PM