Browse Source

Add premultiplied alpha documentation to StandardMaterial3D tutorial

Capry 2 months ago
parent
commit
0e38251f80
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tutorials/3d/standard_material_3d.rst

+ 3 - 0
tutorials/3d/standard_material_3d.rst

@@ -189,6 +189,9 @@ other than *Mix* forces the object to go through the transparent pipeline.
   screen.
 * **Mul:** The final color of the object is multiplied with the color of the
   screen.
+* **Premultiplied Alpha:** The color of the object is expected to have already been
+  multiplied by the alpha. This behaves like **Add** when the alpha is ``0.0``
+  (fully transparent) and like **Mix** when the alpha is ``1.0`` (opaque).
 
 .. image:: img/spatial_material8.png