@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