CRT Shader?

This topic contains 39 replies, has 9 voices, and was last updated by  therevills 1 year, 4 months ago.

Viewing 10 posts - 31 through 40 (of 40 total)
  • Author
    Posts
  • #11996

    Mark Sibly
    Keymaster

     

    What can I run/test that’s crashing?

    Recent shader changes shouldn’t be affecting existing code.

    #11997

    PixelPaladin
    Participant

    Everything should be okay. My code works now (will upload it when it is ready). My mistake was that I used an old makefile which used an older version of mx2cc. Some variable names in the shaders are now different.

    By the way – I am really happy with the way mojo handles shaders now.

    #11999

    Mark Sibly
    Keymaster

    Excellent, the shaders are looking really great too!

    I have long wanted to add some kind of ‘full screen 2d shader effect’ API to the mojo view system, but have been reluctant to do this as I’d be more or less ‘guessing’ how people wanted to use it (like 90% of what I do I guess) and it would likely end up cumbersome and nasty.

    But seeing what people are actually wanting to do with shaders and how they want to use them is enormously useful and will hopefully make for some interesting mojo additions one of these days!

    #12000

    PixelPaladin
    Participant

    Okay, now everything should work out of the box with the current version of mojo. I also added a small example application where you can play around with some parameters. All parameters can now be changed on the fly (brightness, contrast, gamma … even the virtual resolution).

    https://www.dropbox.com/s/pvv6l8hqwsth2vm/crt.zip?dl=0

    #12002

    Ethernaut
    Participant

    Awesome example, @pixelpaladin! Thanks!

    #12004

    therevills
    Participant

    Very nice! Also didnt know that Monkey2 could play videos! Thanks!

    #12005

    peterigz
    Participant

    This is really cool!

    #12006

    CopperCircle
    Participant

    Thats great!

    #12013

    PixelPaladin
    Participant

    I uploaded the crt module and my video module (which uses monkeys theora module) to GitHub:

    crt module:
    https://github.com/PixelPaladin/mx2-crt

    simplevideo module:
    https://github.com/PixelPaladin/mx2-simplevideo

    Both are licensed under the MIT license (I hope that is okay).

    #12019

    therevills
    Participant

    Cool! MIT is fine with me 🙂

Viewing 10 posts - 31 through 40 (of 40 total)

You must be logged in to reply to this topic.