浏览代码

Removed "Constants" paragraph from migrating-to shader page

Yuri Roubinsky 5 年之前
父节点
当前提交
77d02a2524
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      tutorials/shading/migrating_to_godot_shader_language.rst

+ 0 - 6
tutorials/shading/migrating_to_godot_shader_language.rst

@@ -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
 ^^^^^^