cyberboy666 / r_e_c_u_r

an open diy py/pi based video sampler
GNU General Public License v3.0
276 stars 17 forks source link

Improve some of the 2-input shaders #85

Open cyberboy666 opened 5 years ago

averagehat commented 4 years ago

@langolierz Any particular ideas? I would be interested in working on this.

One thing would be using more parameters (for example, wipe.frag only uses 2 out of four parameters).

cyberboy666 commented 4 years ago

awesome ! a few things come to mind quickly, one would be to make the lumakey do black keying and white keying (maybe using one of the unused params as a 'switch', as i tried to do for a->b, b->a switch ...) , or they could be separate shaders,

another is to create a chromakey shader, one param for key amount, maybe another (2? to choose the colour, or ... something cant remember how now but when i had an mx50 i remember the chromakey being fun ...)

yes you could add more to the wipe one , or add more wipe shaders , diagonal , circles, multi, etc

i think i wrote this issue originally because i suspected the lumakey shader wasnt behaving exactly how i expected , maybe my implementation has a mistake, or maybe theres ways to make it smoother in general ...

just some ideas , its a pretty open question , but i agree that the 2input shaders are really fun to play with !

On Tue, Jan 14, 2020 at 4:13 PM Mike Panciera notifications@github.com wrote:

@langolierz https://github.com/langolierz Any particular ideas? I would be interested in working on this.

One thing would be using more parameters (for example, wipe.frag only uses 2 out of four parameters).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/langolierz/r_e_c_u_r/issues/85?email_source=notifications&email_token=AC3WCEUXZ7JL3GIUEXZTTJTQ5XJBLA5CNFSM4IONLT42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI46YHI#issuecomment-574221341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3WCETCYQFQUNFJWR36RYLQ5XJBLANCNFSM4IONLT4Q .