Skip to content

Commit

Permalink
Update tuto-05-colors.md
Browse files Browse the repository at this point in the history
Replace the plural informations with information.
  • Loading branch information
jish authored Nov 1, 2016
1 parent 468b7a4 commit 23e1b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/tuto-05-colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In our programming pipeline, the color of each pixel inside the triangle corresponds to the output of our fragment shader. Since our fragment shader returns `(1.0, 0.0, 0.0, 1.0)`, each pixel is an opaque red (the four values correspond to: red, green, blue, alpha/opacity).

In order to output the correct color, we need to have some information about the pixel we are trying to draw. Fortunately, it is possible to pass informations between the vertex and the fragment shader.
In order to output the correct color, we need to have some information about the pixel we are trying to draw. Fortunately, it is possible to pass information between the vertex and the fragment shader.

To do so, we simply add an `out` variable in the vertex shader...

Expand Down

0 comments on commit 23e1b36

Please sign in to comment.