|
@@ -46,7 +46,7 @@
|
|
|
<h3>Vertex shaders and fragment shaders</h3>
|
|
|
<p>You can specify two different types of shaders for each material:
|
|
|
<ul>
|
|
|
- <li>The *vertex shader* runs first; it recieves *attributes*, calculates/manipulates the position of each individual vertex, and passes additional data (*varying*s) to the fragment shader.</li>
|
|
|
+ <li>The *vertex shader* runs first; it receives *attributes*, calculates/manipulates the position of each individual vertex, and passes additional data (*varying*s) to the fragment shader.</li>
|
|
|
<li>The *fragment shader* runs second; it sets the color of each individual "fragment" (pixel) rendered to the screen.</li>
|
|
|
</ul>
|
|
|
</p>
|