On this page:
9.11.1 Desaturation example

9.11 Desaturate

Applies a fixed de-saturation operation on the colors of the images in its input. This effect is provided as a shader named ColorMode_Desaturated for use with the general FragmentProgram effect.

 

Parameters

 

Default

 

Range    

 

Description

 

GlobalMode

 

0

 

[0,1]

 

See GlobalMode.

Input pattern: (A)
Image-Op: Depends on the GlobalMode parameter.

9.11.1 Desaturation example
; muSE v2
; 
;  My super awesome style.
;  The style desaturates the user media.
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect
  (effect-stack (effect "Perspective" (A))
                (effect "CropMedia" (A))
                (effect "FragmentProgram" (A)
                        (param "ProgramString" ColorMode_Desaturated))))