1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-22 20:25:28 +08:00

Clean up images. Fix minor mistakes

This commit is contained in:
Meow J
2016-07-05 19:15:32 +08:00
parent 26e8742fad
commit 3227b3df11
102 changed files with 13 additions and 9 deletions

View File

@@ -34,7 +34,9 @@ Phong光照很棒而且性能较高但是它的镜面反射在某些条件
得到半程向量很容易我们将光的方向向量和视线向量相加然后将结果归一化normalize
$$
\(\bar{H} = \frac{\bar{L} + \bar{V}}{||\bar{L} + \bar{V}||}\)
$$
翻译成GLSL代码如下