Browse Source

Document that hint_color is now source_color

skyace65 1 năm trước cách đây
mục cha
commit
77969eb138
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 0
tutorials/migrating/upgrading_to_godot_4.rst

@@ -519,6 +519,7 @@ Some notable renames you will need to perform in shaders are:
 - Texture filter and repeat modes are now set on individual uniforms, rather
   than the texture files themselves.
 - ``hint_albedo`` is now ``source_color``.
+- ``hint_color`` is now ``source_color``.
 - :ref:`Built in matrix variables were renamed. <doc_spatial_shader>`
 - Particles shaders no longer use the ``vertex()`` processor function. Instead
   they use ``start()`` and ``process()``.