瀏覽代碼

Fixes the canvas item vertex example

MrCdK 7 年之前
父節點
當前提交
3f522f38d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/shading/shading_language.rst

+ 1 - 1
tutorials/shading/shading_language.rst

@@ -987,7 +987,7 @@ happen later, though) with the following code, so it can be done manually:
 
 
 .. code-block:: glsl
 .. code-block:: glsl
 
 
-    shader_type spatial;
+    shader_type canvas_item;
     render_mode skip_vertex_transform;
     render_mode skip_vertex_transform;
 
 
     void vertex() {
     void vertex() {