Simple implementation of Schlick’s bias and gain functions, and a generalization.
A simple visualizer can be started when you check out the project and run "Visualizer".
See "A Convenient Generalization of Schlick’s Bias and Gain Functions" by Jonathan T. Barron.