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