could someone recommend a good brightness scaling function or method? I’ve seen so many like nscale and multimap, but I’m wondering if there is a commonly accepted method, something thats fast?
I’m currently just using pow(2,i), ie each brightness level is double the next lowest, but I suspect there is a better method.
I want to have a fixed length array that goes from 1 to the maximum brightness (which can be variable) with good brightness scaling (ie logarithmic or geometric) in between.
@marmil yes thats correct. I’m just trying to get a graduated scale from dark to light thats approximately linear in brightness (as opposed to linear in value)