Skip to content

Commit

Permalink
Merge pull request glium#2005 from peter5600/book13fix
Browse files Browse the repository at this point in the history
Book 13 Blinn-phong shading image link is broken.
  • Loading branch information
est31 committed May 8, 2022
2 parents 3b17750 + 74f34c0 commit 1b746cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/tuto-13-phong.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Then we calculate `camera_dir`, which is the direction of the camera relative to
Since the camera is always at `(0, 0, 0)`, this is calculated simply by taking the opposite
of the position of the vector.

![A schema of what's happening](resources/resources/tuto-13-specular.png)
![A schema of what's happening](resources/tuto-13-specular.png)

Afterwards we calculate `half_direction`, which is the direction of the camera relative to
the light if the camera and the light were both one unit away from the object. We then
Expand Down

0 comments on commit 1b746cd

Please sign in to comment.