[jitter] Re: Video compression
Andrew Benson
andrewb at cycling74.com
Fri May 16 08:49:11 MDT 2008
- Previous message: [jitter] Video compression
- Next message: [jitter] 3D stereography in jitter - tutorial patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The "plane" param wasn't closed. Also, you aren't using a vec2 for "fade", so you can't write "fade.x"/"fade.y". Fixing these things will allow your shader to compile. I also notice that you are calculating luminance twice (luminance, lumi), and that you aren't using the "plane" variable at all. I don't understand the purpose of this line: at = vec4(at*amask);//map video onto mask Since you are trying to create an alpha channel, why are you multiplying the RGBA values by the "amask"? The vec4 constructor in the final line is adding the alpha mask to the color vector already. The multiplication is just going to add weird dark halos around your mask and make your image darker. Of course, maybe that's what you're looking for... ab -- Andrew B. -- Cycling '74 Support
- Previous message: [jitter] Video compression
- Next message: [jitter] 3D stereography in jitter - tutorial patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
