Change opacity effect to take values from 0-1.0