Skip to content

Commit 07c01f5

Browse files
committed
Update list of spatial shader render modes for Godot 4.3
This also improves the documentation for existing render modes.
1 parent e8c441e commit 07c01f5

File tree

2 files changed

+57
-33
lines changed

2 files changed

+57
-33
lines changed

tutorials/assets_pipeline/importing_images.rst

+6-3
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)