[PD] GEM / pix objects : limiting colours

Sciss contact at sciss.de
Fri Mar 9 16:04:54 CET 2007


how can i limit the RGB channels of a film that goes through  
[pix_film] -> [pix_buf] -> [pix_gain] -> [pix_offset]. right now i  
get colour wrapping from gain + offset but i want to limit the  
colours. say i scale down the red channel and i add an offset to the  
green channel, i don't want to green channel to wrap from >= 1 to 0,  
but to limit all values above 1.0 to 1.0.

thanks, -sciss-

More information about the Pd-list mailing list