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

Replace all the math equations with latex

This commit is contained in:
Meow J
2016-07-05 18:47:06 +08:00
parent ca728d41d6
commit e6c891f7cc
14 changed files with 171 additions and 657 deletions

View File

@@ -34,7 +34,7 @@ Phong光照很棒而且性能较高但是它的镜面反射在某些条件
得到半程向量很容易我们将光的方向向量和视线向量相加然后将结果归一化normalize
![](http://learnopengl-cn.readthedocs.org/zh/latest/img/05_01_01.png)
\(\bar{H} = \frac{\bar{L} + \bar{V}}{||\bar{L} + \bar{V}||}\)
翻译成GLSL代码如下