Removed "Constants" paragraph from migrating-to shader page

This commit is contained in:
Yuri Roubinsky
2020-07-01 10:27:22 +03:00
parent d74a52c3cc
commit 77d02a2524

View File

@@ -67,12 +67,6 @@ In GLSL, each shader program looks like a self-contained C-style program. Accord
is ``main``. If you are copying a vertex shader, rename ``main`` to ``vertex`` and if you are copying a
fragment shader, rename ``main`` to ``fragment``.
Constants
^^^^^^^^^
Godot currently does not support constants. You can fake the functionality by using a uniform initialized
to the value, but you will not benefit from the increased speed from using a constant.
Macros
^^^^^^