Meishe SDK Alpha Product Manual

Meishe SDK Alpha Product Manual

Version 1.4

Beijing Meishe Network Technology Co., Ltd.

 

Alpha channel graph

 

 

The effect of the special effect "alpha channel map" is to use the brightness of material A as the alpha channel of material B. Material A is the specified material 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 special effect has two modes of use, please pay attention to the distinction.

1.1, brightness progress mode

Brightness progression mode. Calculate the brightness and darkness of different areas of the picture of material A, and determine which areas of material B are seen first and which areas are seen later in 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. It needs 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 image of the material A.

2. Other parameters of the alpha channel map

NO

Name called   

Described above   

Single -bit

Fan Wai

1

boundary

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's 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's 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's RGBA value

 

0-1

6

Border color softness

Adjust the brightness process, the soft part of the threshold change, and the degree of feathering of the color edge D

 

0-1

7

Threshold

In the brightness progress mode, set the area to be seen in the channel map and the corresponding brightness value.

 

0-1

8

Anchor point

Anchor point of channel material

Texture coordinates

 

9

Zoom

Channel material scaling

 

 

10

Spin

Rotation of channel material

 

 

11

position

Channel material displacement

Texture coordinates

 

 

Guess you like

Origin blog.csdn.net/qq_33277028/article/details/113991928