adjust combined rgb values with a formula block

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • duncan
    LoxBus Spammer
    • 28.08.2015
    • 327

    #1

    adjust combined rgb values with a formula block

    im trying to adjust a rgb output from a lighting block using a formula and virtual inputs for the blue and green elements to tweak the colours - the lights i have dont have enough red, so i need to reduce the blue and green elements by a fixed but adjustable % via 2 virtual inputs

    i can make it work by splitting the combined rgb using a rgb controller, and multiply each g and b output by an adjustment factor, then combine the rgb elements together again, but i would like to do it if possible using a single formula block - any ideas ?
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11249

    #2
    The second formula in this article has dimming:


    You can adjust the divisions/multipliers for each channel, giving different values.
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • duncan
      LoxBus Spammer
      • 28.08.2015
      • 327

      #3
      thanks - i had searched but obviously not very well - perfect

      Kommentar

      Lädt...