unity shader 常见的混合类型

// 正常(Normal),即透明度混合

Blend SrcAlpha OneMinusSrcAlpha

// 柔和相加(Soft Additive)

Blend OneMinusDstColor One

// 正片叠底(Multiply),即相乘

Blend DstColor Zero

// 两倍相乘(2X Multiply)

Blend DstColor SrcColor

// 变暗(Darken)

BlendOp Min

Blend One One

// 变亮(Lighten)

BlendOp Max

Blend One One

// 滤色(Screen)

Blend OneMinusDstColor One

//等同于

Blend one OneMinusSrcColor

//线性减淡(LInear Dodge)

Blend One One

猜你喜欢

转载自blog.csdn.net/youmangu/article/details/126605878