Skip to content

Commit 0e38251

Browse files
committed
Add premultiplied alpha documentation to StandardMaterial3D tutorial
1 parent 6b8faf3 commit 0e38251

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/3d/standard_material_3d.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ other than *Mix* forces the object to go through the transparent pipeline.
189189
screen.
190190
* **Mul:** The final color of the object is multiplied with the color of the
191191
screen.
192+
* **Premultiplied Alpha:** The color of the object is expected to have already been
193+
multiplied by the alpha. This behaves like **Add** when the alpha is ``0.0``
194+
(fully transparent) and like **Mix** when the alpha is ``1.0`` (opaque).
192195

193196
.. image:: img/spatial_material8.png
194197

0 commit comments

Comments
 (0)