• 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

    Adding Parameters to GLSL Actor

    How To... ?
    2
    2
    1512
    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.
    • S
      steinster last edited by

      I am curious what data types can be added as parameters for the GLSL Actor.

      I currently know about Floats and Ints, by using the following as comments in my GLSL code:

      // ISADORA_FLOAT_PARAM(name, id, min, max, default, "help text");

      // ISADORA_INT_PARAM(name, id, min, max, default, "help text");

      Are there any other user defined parameters that can be added? For instance can I have an array? vecf3? 

      Is there any documentation on this? Also... if it does accept an array, how do I format an array that it will accept?

      I searched Help for ISADORA_FLOAT_PARAM and it only brings me to a single help page, is there any additional info? :

      GLSL Shader Actor Tutorial

      Is there a limit on the number of user defined parameters that we can create?

      Thanks,

      Dave Stein

      @ColonelPanix

      DusX 1 Reply Last reply Reply Quote 1
      • DusX
        DusX Tech Staff @steinster last edited by

        @steinster

        These are the 2 parameter types supported for input at this time. Isadora does not have a matching list type available. If you need multiple values you will need to create multiple inputs.
        That article is the most complete documentation for the actor currently.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
        • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

        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 1
        • First post
          Last post