Skip to content

Commit 6d965b1

Browse files
authored
Merge pull request #9691 from Calinou/spatial-shader-update-render-modes
Update list of spatial shader render modes for Godot 4.4
2 parents d18c89b + e43dd08 commit 6d965b1

File tree

2 files changed

+57
-33
lines changed

2 files changed

+57
-33
lines changed

tutorials/assets_pipeline/importing_images.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,12 @@ displayed correctly:
426426

427427
- In 2D, a :ref:`class_CanvasItemMaterial` will need to be created and
428428
configured to use the **Premul Alpha** blend mode on CanvasItems that use this
429-
texture.
430-
- In 3D, there is no support for premultiplied alpha blend mode yet, so this
431-
option is only suited for 2D.
429+
texture. In :ref:`custom canvas item shaders <doc_canvas_item_shader>`,
430+
``render_mode blend_premul_alpha;`` should be used.
431+
- In 3D, a :ref:`class_BaseMaterial3D` will need to be created and configured
432+
to use the **Premul Alpha** blend mode on materials that use this texture.
433+
In :ref:`custom spatial shaders <doc_spatial_shader>`,
434+
``render_mode blend_premul_alpha;`` should be used.
432435

433436
Process > Normal Map Invert Y
434437
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)