>>>>> "Behdad" == Behdad Esfahbod <behdad at behdad.org> writes: Behdad> The float value in question is already clamped to [0.0,1.0]. I see. I didn't realise it was already clamped before this function is called. -JimC