瀏覽代碼

Fix :code: typo in canvas_item_shaders doc (#6921)

Bryce 2 年之前
父節點
當前提交
8deb600ac5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/shaders/shader_reference/canvas_item_shader.rst

+ 1 - 1
tutorials/shaders/shader_reference/canvas_item_shader.rst

@@ -162,7 +162,7 @@ it to the ``NORMALMAP`` property. Godot will handle converting it for use in 2D
 +---------------------------------------------+---------------------------------------------------------------+
 | in vec2 **TEXTURE_PIXEL_SIZE**              | Normalized pixel size of default 2D texture.                  |
 |                                             | For a Sprite2D with a texture of size 64x32px,                |
-|                                             | **TEXTURE_PIXEL_SIZE** = :code`vec2(1/64, 1/32)`              |
+|                                             | **TEXTURE_PIXEL_SIZE** = :code:`vec2(1/64, 1/32)`             |
 +---------------------------------------------+---------------------------------------------------------------+
 | in bool **AT_LIGHT_PASS**                   | Always ``false``.                                             |
 +---------------------------------------------+---------------------------------------------------------------+