1

If I try to simply add 1.0 to one color-channel of a register, can I:

  • Write it directly with some float-number syntax I'm not aware of, or...
  • Do I have to pass in the number to a constant first, and use that constant register there?

Example of what I'm trying to do:

//AGAL code - Just trying to add one to red-value of ft1, and assign it to ft2
add ft2.r, ft1.r, 1.0
J. Holmes
  • 18,466
  • 5
  • 47
  • 52
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63

1 Answers1

1

Unfortunately no, you have to pass the constant in. via fc0, etc

add ft2.r, ft1.r, fc0.r
ansiart
  • 2,563
  • 2
  • 23
  • 41