x


Chromakey shader for movie textures?

I'm needing to replace a color in a movie (say, green) with transparency. As I can't grab the pixels from a MovieTexture, I can't brute-force it, but seems like a Shader would be perfect for such a task. I have chromakey code I like (used it in other projects).

Does anyone know of a shader that will do such color replacement? I'm no shader expert, but I can try, if there's something close out there. Or if anyone would like to help me make one, we can talk revenue-sharing.

I found some code here, but it's old and won't compile in 3.5. http://forum.unity3d.com/threads/11512-Using-a-texture-s-RGB-as-an-Alpha

more ▼

asked Jun 25 '12 at 10:17 PM

JimmyJJeeter gravatar image

JimmyJJeeter
131 7 8 12

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

1 answer: sort voted first

FWIW I'll be putting up such a shader to the asset store soon. You wanna beta test?

more ▼

answered Aug 23 '12 at 09:28 PM

DaveA gravatar image

DaveA
26.5k 151 171 256

Yes please

Sep 06 '12 at 08:42 PM JimmyJJeeter
(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:

x1668
x330
x107
x1

asked: Jun 25 '12 at 10:17 PM

Seen: 761 times

Last Updated: Sep 06 '12 at 08:42 PM