Update list of spatial shader render modes for Godot 4.3

This also improves the documentation for existing render modes.
This commit is contained in:
Hugo Locurcio
2024-08-01 03:52:24 +02:00
parent e8c441ecdb
commit e43dd0821c
2 changed files with 57 additions and 33 deletions

View File

@@ -426,9 +426,12 @@ displayed correctly:
- In 2D, a :ref:`class_CanvasItemMaterial` will need to be created and
configured to use the **Premul Alpha** blend mode on CanvasItems that use this
texture.
- In 3D, there is no support for premultiplied alpha blend mode yet, so this
option is only suited for 2D.
texture. In :ref:`custom canvas item shaders <doc_canvas_item_shader>`,
``render_mode blend_premul_alpha;`` should be used.
- In 3D, a :ref:`class_BaseMaterial3D` will need to be created and configured
to use the **Premul Alpha** blend mode on materials that use this texture.
In :ref:`custom spatial shaders <doc_spatial_shader>`,
``render_mode blend_premul_alpha;`` should be used.
Process > Normal Map Invert Y
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~