Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PremultipliedAlpha

The texture content is alpha-premultiplied.
Read time 1 minuteLast updated 12 days ago

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.