Removed unused bias value, use log2 instead of log, add min value to avoid cut-off near camera