@mmb90 range of alpha
would be 0 - 255, right? Do you really want it to be 0.5
or rather something around 127
(50% opacity)?
Or does it work with floats in the range 0-1, too? Did not actually test your code…
Just tested with CLJ (so on the JVM), I think you want 127
🙂
ha! I guess I assumed the alpha would be between 0 and 1.0. Works fine with 127…thanks @nblumoe.