• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Photoshop Style Blend Mode GLSL Shaders for Isadora

    How To... ?
    12
    13
    269
    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.
    • mark
      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

      CitizenJoe liminal_andy jfg bonemap Woland 8 Replies Last reply Reply Quote 12
      • CitizenJoe
        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_andy
          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
          • DusX
            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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

            1 Reply Last reply Reply Quote 0
            • jfg
              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 13.2 Ventura:
              - 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

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

                @mark

                Awesome!! Super contribution!

                Best Wishes

                Russell

                http://bonemap.com | Australia
                Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

                1 Reply Last reply Reply Quote 0
                • mark
                  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
                  • GertjanB
                    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
                    • Woland
                      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. <3

                      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 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                      1 Reply Last reply Reply Quote 2
                      • Bill Cottman
                        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
                        • Armando
                          Armando Beta Gold @mark last edited by

                          @mark Massive !!!


                          Armando Menicacci
                          www.armandomenicacci.net
                          www.studiosit.ca

                          Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 13 Ventura

                          1 Reply Last reply Reply Quote 0
                          • leben
                            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
                            • P
                              Paz @mark last edited by

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

                              Running: Mac Studio M1 Max 32GB, 512GB SSD, macOS 13.1 | Izzy v3.2.6 /// MBP 2.9 GHz i7, AMD Radeon Pro 560, 16GB, 512GB SSD, macOS 12.6. | Izzy v3.2.6 | UK

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