瀏覽代碼

Merge pull request #3575 from Calinou/fix-shader-style-guide-numbering

Fix numbering in the ordering section of Shader language style guide
Max Hilbrunner 5 年之前
父節點
當前提交
9e1b092e11
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      tutorials/shading/godot_shader_language_style_guide.rst

+ 8 - 8
tutorials/shading/godot_shader_language_style_guide.rst

@@ -326,16 +326,16 @@ We suggest to organize shader code this way:
 
     01. shader type declaration
     02. render mode declaration
-    02. // docstring
+    03. // docstring
 
-    03. uniforms
-    04. constants
-    05. varyings
+    04. uniforms
+    05. constants
+    06. varyings
 
-    06. other functions
-    07. vertex() function
-    08. fragment() function
-    09. light() function
+    07. other functions
+    08. vertex() function
+    09. fragment() function
+    10. light() function
 
 We optimized the order to make it easy to read the code from top to bottom, to
 help developers reading the code for the first time understand how it works, and