Browse Source

Merge pull request #9102 from skyace65/ColorChange

Document that hint_color is now source_color
Max Hilbrunner 1 year ago
parent
commit
0664ab75ab
1 changed files with 1 additions and 0 deletions
  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
 - Texture filter and repeat modes are now set on individual uniforms, rather
   than the texture files themselves.
   than the texture files themselves.
 - ``hint_albedo`` is now ``source_color``.
 - ``hint_albedo`` is now ``source_color``.
+- ``hint_color`` is now ``source_color``.
 - :ref:`Built in matrix variables were renamed. <doc_spatial_shader>`
 - :ref:`Built in matrix variables were renamed. <doc_spatial_shader>`
 - Particles shaders no longer use the ``vertex()`` processor function. Instead
 - Particles shaders no longer use the ``vertex()`` processor function. Instead
   they use ``start()`` and ``process()``.
   they use ``start()`` and ``process()``.