Meishe SDK Alpha Channel Map Manual
Version 1.4
Beijing Meishe Network Technology Co., Ltd.
Alpha channel graph
The effect of the special effect "Alpha channel graph" is to use the brightness of material A as the alpha channel of material B. Material A is the material specified in the effect, and material B is the image track where the effect is located. Material A can be a single JPG/PNG image or a CAF sequence file.
1、Usage mode
This trick has two modes of use, please pay attention to the distinction.
1.1、Brightness progression mode
Brightness progression mode. Calculate the brightness and darkness of different areas of material A and determine which areas of material B are seen first and which areas are seen later during the process of alpha change. Black corresponds to the beginning of the process and is the first area seen in the process. White represents the maximum value of the process, which is the last area seen in the process. Need to be used together with the "threshold" parameter.
1.2、Brightness channel mode
Luminance channel mode. Determine the alpha value of the corresponding area of the material B according to the brightness of the different areas of the material A.
2、Other parameters of the alpha channel graph
NO | Name | Description | Unit | Range |
1 | Border | Make the threshold change of the brightness process softer |
| 0-1 |
2 | Border red channel | For the brightness process, add color to the soft part of the threshold change, and specify the R value of the color RGBA value |
| 0-1 |
3 | Border green Channel | For the brightness process, add color to the soft part of the threshold change, and specify the G value of the color RGBA value |
| 0-1 |
4 | Border blue channel | For the brightness process, add color to the soft part of the threshold change, and specify the B value of the color RGBA value |
| 0-1 |
5 | Border alpha channel | For the brightness process, add color to the soft part of the threshold change, and specify the A value of the color RGBA value |
| 0-1 |
6 | Border color softness | Adjust the brightness process, the soft part of the threshold change, the degree of feathering of the color edge |
| 0-1 |
7 | Threshold | In the brightness progress mode, set the area to be seen in the channel graph and the corresponding brightness value. |
| 0-1 |
8 | Anchor point | Anchor point of channel material | Texture coordinates |
|
9 | Zoom | Channel material zoom |
|
|
10 | Rotate | Rotation of channel material |
|
|
11 | Position | Channel material displacement | Texture coordinates |
|