浏览代码

Fix list indentation in Shaders guide;

bjorn 2 年之前
父节点
当前提交
83da1bd3d2
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      guides/Shaders.md

+ 4 - 4
guides/Shaders.md

@@ -29,10 +29,10 @@ There are 2 types of shaders, given by `ShaderType`:
 Shaders have one or more "stages", which are basically functions, given by `ShaderStage`:
 
 - `graphics` shaders have 2 stages:
-  - The `vertex` stage computes vertex positions.  It loads vertex data from meshes and applies
-    transformations to get the final "on-screen" position for triangles.
-  - The `fragment` stage computes pixel colors.  It uses material data to compute lighting and other
-    effects, returning the final color of the pixel.
+    - The `vertex` stage computes vertex positions.  It loads vertex data from meshes and applies
+      transformations to get the final "on-screen" position for triangles.
+    - The `fragment` stage computes pixel colors.  It uses material data to compute lighting and other
+      effects, returning the final color of the pixel.
 - `compute` shaders have a single `compute` stage.  It doesn't have any semantic meaning, instead
   performing arbitrary computation by writing to `Buffer` and `Texture` objects.