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

Navigation

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

    Adding Parameters to GLSL Actor

    How To... ?
    2
    2
    1022
    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 0
      • 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
        • 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
        • First post
          Last post