• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Photoshop Style Blend Mode GLSL Shaders for Isadora

    How To... ?
    12
    13
    463
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • markM
      mark
      last edited by mark

      Dear All,

      So, per a post in the Isadora User Group, I put together this patch which has 24 different GLSL Shaders that implement the blend modes you know from Photoshop (and even a few others I wasn't familiar with.)

      The code was crafted by Jamie Owen and can all be found on his GitHub Repository GLSL Blend. The code is under a permissive MIT license. You can see the different blend modes in action by viewing this web page.

      Now, before some of you ask (and I know some of you will, you cheeky monkeys), this does not blend an image on top of the current stage image. Instead, you need to feed in a background video/image (the first video input) and a foreground video/image (the second video input).

      It is not impossible that we could add this to a future version of Isadora, but it would require creating a separate buffer for each Projector so that it could perform the blend with the images rendered so far. Currently, Isadora doesn't work this way – it simply renders the next image upon the result of all the previously rendered images into the main rendering buffer.

      Nevertheless, I hope these might prove interesting and/or useful for your patches. If you all do feel that it's useful, we'll make an official release of files that you can drop into the GLSL Shader folder so that all of these actors will appear as new actors in Isadora.

      Let me know what you think.

      Best Wishes,
      Mark

      photoshop-blend-modes-v1.izz

      Media Artist & Creator of Isadora
      Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

      CitizenJoeC liminal_andyL jfgJ bonemapB WolandW 8 Replies Last reply Reply Quote 12
      • CitizenJoeC
        CitizenJoe @mark
        last edited by

        @mark this is awesome! Something I've always wanted!!

        Hugh in Winnipeg - All test machines, Win10 Pro, 64 bit, OS SSD and separate data SSD.

        1. new laptop: Dell 7560, i9 11950H, 64 gigs, NVIDIA RTX A4000 w/8 GB GDDR6
        2. old desktop: Dell T5500 2009, Dual Quad Core Processor E5530, 12 gigs, 2x Radeon 5750... Still works well!
        1 Reply Last reply Reply Quote 1
        • liminal_andyL
          liminal_andy @mark
          last edited by

          @mark Dream come true! Had some hacked together Adobe blend mode shaders that I will be thrilled to toss out in favor of these.

          Andy Carluccio
          Zoom Video Communications, Inc.
          www.liminalet.com

          [R9 3900X, RTX 2080, 64GB DDR4 3600, Win 10, Izzy 3.0.8]
          [...also a bunch of hackintoshes...]

          1 Reply Last reply Reply Quote 0
          • DusXD
            DusX Tech Staff
            last edited by

            These will be used daily 🙂

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • Isadora Add-ons: https://troikatronix.com/add-ons/
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

            Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

            1 Reply Last reply Reply Quote 0
            • jfgJ
              jfg @mark
              last edited by

              @mark said:

              Nevertheless, I hope these might prove interesting and/or useful for your patches. If you all do feel that it's useful, we'll make an official release of files that you can drop into the GLSL Shader folder so that all of these actors will appear as new actors in Isadora.

               

              is it possible to have all in one actor with a pulldown menu to choose the effect like it is in photoshop or other software. There is so much actors in-between in the GLSL bin that it is difficult to find the right one… especially for no native english speakers.

              best 

              Jean-François

              • Izzy 3.2.6, Mac OS 14.1 Sonoma:
              - MacBook Pro M1 Max 16" 64GB RAM
              • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
              - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
              - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

              Located in Bremen, Germany

              markM 1 Reply Last reply Reply Quote 0
              • bonemapB
                bonemap Izzy Guru @mark
                last edited by

                @mark

                Awesome!! Super contribution!

                Best Wishes

                Russell

                http://bonemap.com | Australia
                Izzy STD/USB 3.2.6 | + Beta 3.x.x
                MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
                Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
                A range of deployable older Macs

                1 Reply Last reply Reply Quote 0
                • markM
                  mark @jfg
                  last edited by mark

                  @jfg said:

                  is it possible to have all in one actor with a pulldown menu to choose the effect like it is in photoshop or other software. There is so much actors in-between in the GLSL bin that it is difficult to find the right one… especially for no native english speakers.

                  It is possible, but it would would require 24 if/then statements in the code which would be quite inefficient because it needs to do this comparison for every pixel. (See example code below). So, until I would build this into a self-contained Isadora actor, I wouldn't attempt it.

                  if (shaderNumber == 0.0) then
                     executeShader1()
                  else if (sheerNumber == 1.0) then
                     executeShader2()
                  else if (sheerNumber == 2.0) then
                  ...
                  etc.
                  etc.

                  Best Wishes,
                  Mark

                  Media Artist & Creator of Isadora
                  Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                  1 Reply Last reply Reply Quote 0
                  • GertjanBG
                    GertjanB Beta Platinum
                    last edited by

                    Brilliant, 

                    Thanks

                    To test these quickly I made a user actor with some routers and a selector:

                    Blend Tester.iua3

                    And then if I find what I want I can copy the glsl actor.

                    www.gertjanbiasino.be

                    1 Reply Last reply Reply Quote 0
                    • WolandW
                      Woland Tech Staff @mark
                      last edited by

                      @mark said:

                      If you all do feel that it's useful, we'll make an official release of files that you can drop into the GLSL Shader folder so that all of these actors will appear as new actors in Isadora.

                       Yes, let's do that. I like this idea. ❤

                      TroikaTronix Technical Support
                      New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                      TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                      | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                      1 Reply Last reply Reply Quote 2
                      • Bill CottmanB
                        Bill Cottman
                        last edited by

                        Thank you.😎

                        http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                        1 Reply Last reply Reply Quote 0
                        • ArmandoA
                          Armando Beta Gold @mark
                          last edited by

                          @mark Massive !!!


                          Armando Menicacci

                          www.studiosit.ca
                          www.armandomenicacci.net

                          Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

                          1 Reply Last reply Reply Quote 0
                          • lebenL
                            leben @mark
                            last edited by

                            @mark

                            Very useful, thank you 🙂

                            macbook pro retina -mid 2014 2.2 GHz i7 16 gig ram Running Catalina
                            Izzy 3.0.7

                            1 Reply Last reply Reply Quote 0
                            • PazP
                              Paz Beta Tester @mark
                              last edited by

                              @mark I can't believe my eyes 🤩 amazing work! Thank you and best wishes

                              Simon Powell: Exploring Emerging Technologies in Live Performance at University of the Arts London.
                              Running: Mac Studio M1 Max 32GB, 512GB SSD, macOS 13.5.2 | MacBook Pro M2 Pro 16GB, 512GB SSD, macOS 13.5.2 / Izzy v3.2.6 + beta /// UK

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post