Gain
Returns a contrast gain of Input by Gain, using the following Ken Perlin formula:
Bias( 2 * Input, 1 - Gain ) * 0.5 ; if Input < 0.5
1 - Bias( 2 - 2 * Input, 1 - Gain ) * 0.5 ; otherwise
Apri argomento con navigazione
This page may include unlocalized contents
Gain
Returns a contrast gain of Input by Gain, using the following Ken Perlin formula:
Bias( 2 * Input, 1 - Gain ) * 0.5 ; if Input < 0.5
1 - Bias( 2 - 2 * Input, 1 - Gain ) * 0.5 ; otherwise