FilterEffectOptions
Filter effect options.
Properties
- path
- Local absolute path to the 3D cube map file used to implement custom filter effects. The referenced .cube file must strictly follow the Cube LUT (Lookup Table) specification, otherwise the filter effect will not take effect. Below is an example of a .cube file:
LUT_3D_SIZE 32 0.0039215689 0 0.0039215682 0.0086021447 0.0037950677 0 ... 0.0728652592 0.0039215689 0
Note:- The first line of the cube map file contains the
LUT_3D_SIZEidentifier, indicating the size of the 3D lookup table. Currently, only a LUT size of 32 is supported. - The SDK provides a built-in
built_in_whiten_filter.cubefile. Passing the absolute path of this file applies a whitening filter effect.
- The first line of the cube map file contains the
- strength
- Filter effect intensity. Value range is [0.0,1.0], where 0.0 indicates no filter effect. Default value is 0.5. The higher the value, the stronger the filter effect.