Skip to content

Commit

Permalink
fix the formula in 05-01
Browse files Browse the repository at this point in the history
  • Loading branch information
Krasjet committed Sep 2, 2018
1 parent 913d6da commit 94de375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/05 Advanced Lighting/01 Advanced Lighting.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
获取半程向量的方法很简单,只需要将光线的方向向量和观察向量加到一起,并将结果正规化(Normalize)就可以了:

$$
\(\bar{H} = \frac{\bar{L} + \bar{V}}{||\bar{L} + \bar{V}||}\)
\bar{H} = \frac{\bar{L} + \bar{V}}{||\bar{L} + \bar{V}||}
$$

翻译成GLSL代码如下:
Expand Down

0 comments on commit 94de375

Please sign in to comment.