camera shader

I am starting to look at shaders. It is so exciting to process camera input live! Here is a basic attemps to improve the dark regions of the image. There are sliders to:

  • choose the camera.
  • increase the light (0/1/2).
  • increase the color saturation.
  • filter the noise out.

http://twolivesleft.com/Codea/CC/alpha/index.php?v=1637

here is the video (top part is missing due to a bug in current codea version recording).

http://www.youtube.com/watch?v=iKaynxk3FLU

lol, shaders are quite fun, aren’t they?

nice work

Lol! Could you include the code?

@coder_maker the code is in the link above.

i have improved my program. Here is what i get now. It is just an example, the result itself (denoising) is not so good.

http://youtu.be/2L6OHyXDuws

here is the code:
http://twolivesleft.com/Codea/CC/alpha/index.php?v=1645

to get the correct view, in the Main tab, line 35:
--displayMode(FULLSCREEN_NO_BUTTONS).
remove the --
I had to comment this line to put it on CC

Does anyone have this code in among their old projects? It looks a lot like an extremely simplified version of the new Shaders app, a version that only does one thing. It seems cool.