Skip to content

Commit c92d715

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

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 at zero
194+
percent and like *Mix* when the alpha is at one hundred percent.
192195

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

0 commit comments

Comments
 (0)