文档

Unity Engine

Unity Engine

PremultipliedAlpha

The texture content is alpha-premultiplied.
阅读时间1 分钟最后更新于 1 个月前

Definition

PremultipliedAlpha = 2

Remarks

In premultiplied alpha, the RGB channels have been multiplied by the alpha channel. A typical source is a RenderTexture that has had transparent geometry rendered to it using standard alpha blending (e.g. Blend SrcAlpha OneMinusSrcAlpha), which stores premultiplied results. Some operations may require converting to straight alpha by dividing RGB by alpha.