You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vertices can contain more than just a position attribute. A typical example is to **add a color attribute** to each vertex. This will also show us how the rasterizer automatically interpolate vertex attributes across triangles.
23
+
Vertices can contain more than just a position attribute. A typical example is to **add a color attribute** to each vertex. This will also show us how the rasterizer automatically interpolates vertex attributes across triangles.
24
24
25
25
Shader
26
26
------
@@ -50,7 +50,7 @@ struct VertexInput {
50
50
};
51
51
```
52
52
53
-
Our vertex shader thus only receive one single argument, whose type is `VertexInput`:
53
+
Our vertex shader thus only receives one single argument, whose type is `VertexInput`:
54
54
55
55
```{lit} rust, Vertex shader (also for tangle root "Vanilla")
0 commit comments