# 超简陋的OpenGL小程序WP

## 思路

着色器脚本中更改视角和光源位置，更改完后运行即可

## patch

basic_lighting.fs
```diff
19c19
<     vec3 lightDir = normalize(-0.9* lightPos + FragPos);
---
>     vec3 lightDir = normalize(lightPos - FragPos);
```

basic_lighting.vs
```diff
14c14
<     FragPos = vec3(-1 *model * vec4(aPos, 1.0));
---
>     FragPos = vec3(model * vec4(aPos, 1.0));
```
