wiggle positive only


i would like to randomize exposure effect to have a desired flicker look using wiggle exposure amount, unfortunately it wiggles back and forth between negative and positive values.

how do i clamp it to just the positive values?



Try this

var myWiggle = wiggle(5,100);
var delta = myWiggle - value;
value + Math.abs(delta)

replace “wiggle(5,100)” by whatever wiggle you like. It only works with 1d values like transparency or exposure.



This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.