scott wrote:
> I had thought of doing such a thing but I don't know in my code how
> large the return values of the function will be (certainly not limited
> to 1).
One function I've used to guarantee all finite values get mapped within [0,1) is
this.
1-1/(1+abs(functionR))
However, emission pigments having values greater than unity is not unusual. A
global brightness parameter seems like the way to go.
Post a reply to this message
|