• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    [ANSWERED] Systematic "Syntax error" when importing Shader in GLSL Shader Actor

    How To... ?
    glsl shader
    4
    6
    3173
    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.
    • tease
      tease last edited by Woland

      Hello shader lovers,

      I try to import a few shadder from shadertoy to the GLSL Shader actor and I always have a "Syntax error" that does not allow me to compile and continue.

      For this shader:, its this line that gives Isadora a problem:    N = mix(vec3(0.0, 1.0, 0.0), N, 1.0 / (dist * dist * 0.01 + 1.0));

      For this shader, its this one: vec3 getPixel(in vec2 coord, float time) { 

      For this one, its : vec3 colour = vec3(pow(abs(c), 8.0));

      So its seems to be linked to vec3 (vector 3?) but why those line and not the other with this vec3? mystery...

      any idea ?

      best creative year to all of you!

      thomas

      Thomas Israël : Mac Studio M1 Max 32Go Ventura & MBP 2016 10.15.7 i7 16Go Intel HD 530 1536Mo - located in Belgium - France - Brasil
      Digital art - performance - Opera - installation - interactivity - sculpture / 18 years on Isadora / mac, hack & PC - www.thomasisrael.be & https://linktr.ee/thoisr

      DusX 1 Reply Last reply Reply Quote 0
      • DusX
        DusX Izzy Guru @tease last edited by

        @tease


        I just tried it with all 3 links, and I was able to cut/paste and run the GLSL code without issue.

        Perhaps you are missing a closing bracket or something similar when you are doing this. 
        One thing that helps me ensure I am getting the entire glsl code, is to use Cut rather than Copy, this way I can see if I left anything behind.

        🎛️ TroikaTronix Professional Services
        https://troikatronix.com/professional-services

        🎫 Support Tickets
        https://support.troikatronix.com/support/tickets/new

        💻 Add-ons
        https://troikatronix.com/add-ons/?u=dusx

        🧪 GitHub Projects
        https://github.com/rwebber

        🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

          Same here, but damm what is that GLSL code editor buggy on Windows.. Going to send a few tickets for that one, get constant freeze here with Izzy 3.0.6..

          I cleaned up the code, and it all seemed fine. Care to share the code that you tried ?

          Isadora 4.x, Windows 11 Dell XPS 17 5010 or my MacBook Pro M3 Max (Tahoe)
          Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
          Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

          DusX Michel 2 Replies Last reply Reply Quote 0
          • DusX
            DusX Izzy Guru @Juriaan last edited by

            @juriaan

            Really, I had no issues at all (did my test on Windows).
            Please submit support tickets with details, and I will look further into it.

            🎛️ TroikaTronix Professional Services
            https://troikatronix.com/professional-services

            🎫 Support Tickets
            https://support.troikatronix.com/support/tickets/new

            💻 Add-ons
            https://troikatronix.com/add-ons/?u=dusx

            🧪 GitHub Projects
            https://github.com/rwebber

            🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

            1 Reply Last reply Reply Quote 1
            • Michel
              Michel Izzy Guru @Juriaan last edited by

              @juriaan

              Does this still happen if you update to 3.0.7?

              Best Michel

              Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

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

                Hi there both, 
                Ticket has been logged with id #4561383

                Thanks !

                Isadora 4.x, Windows 11 Dell XPS 17 5010 or my MacBook Pro M3 Max (Tahoe)
                Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

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