Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

camera shader

Jmv38Jmv38 Mod
edited April 2014 in General Posts: 3,297

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).

Comments

  • IgnatzIgnatz Mod
    Posts: 5,396

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

    nice work

  • Posts: 167

    Lol! Could you include the code?

  • Jmv38Jmv38 Mod
    Posts: 3,297

    @coder_maker the code is in the link above.

  • Jmv38Jmv38 Mod
    edited May 2014 Posts: 3,297

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

  • Jmv38Jmv38 Mod
    edited May 2014 Posts: 3,297

    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

  • Posts: 1,178

    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.

Sign In or Register to comment.