WEI Wen
86c9e6b6d4
改进翻译
...
根据原文Specular Lighting部分,改进翻译,修改了几处翻译错误。
2022-04-26 01:19:15 +08:00
WEI Wen
bdb13b5f97
翻译更准确
...
原文:
Inversing matrices is a costly operation for shaders, so wherever possible try to avoid doing inverse operations since they have to be done on each vertex of your scene. For learning purposes this is fine, but for an efficient application you'll likely want to calculate the normal matrix on the CPU and send it to the shaders via a uniform before drawing (just like the model matrix).
In the diffuse lighting section the lighting was fine because we didn't do any scaling on the object, so there was not really a need to use a normal matrix and we could've just multiplied the normals with the model matrix. If you are doing a non-uniform scale however, it is essential that you multiply your normal vectors with the normal matrix.
2022-04-25 18:56:33 +08:00
Gary Wang
fa20405a2d
Merge pull request #231 from weiwen1990/patch-1
...
翻译更准确
2022-04-25 17:17:07 +08:00
WEI Wen
cf5ac876a7
翻译更准确
...
The normal matrix is defined as 'the transpose of the inverse of the upper-left 3x3 part of the model matrix'.
2022-04-25 17:01:24 +08:00
Gary Wang
7f2677c106
Merge pull request #228 from xiongyouliang/new-theme
...
添加‘它’,指代前文的‘向量’。
2022-04-11 13:07:10 +08:00
XiongYouliang
a15f337fa5
添加‘它’,指代前文的‘向量’。
2022-04-11 13:01:29 +08:00
LJHG
db8e8015fc
fix typo
2022-03-20 16:30:34 +08:00
Gary Wang
be53cd340b
Merge pull request #224 from zhangfuwen/new-theme
...
fix typo in 04 Normal Mapping.md
2022-03-17 22:47:52 +08:00
Dean
6fb42f39a8
fix typo
2022-03-17 11:01:46 +08:00
Gary Wang
54b1f2a56d
Merge pull request #222 from jjiangaj/new-theme
...
错字改正
2022-03-07 10:24:20 +08:00
jjiangaj
5798d02a21
Update 09 Camera.md
2022-03-05 14:10:52 +08:00
krasjet
bbc32e5452
switch to local mathjax, take 2
2022-03-01 05:20:20 +00:00
krasjet
2cf2d17cb0
revert: switch to local mathjax
...
wait until I figure out the correct way to do this
2022-03-01 04:43:55 +00:00
krasjet
80d2e26c56
switch to local mathjax
2022-03-01 04:32:43 +00:00
krasjet
5347d851f4
update status badge
2022-03-01 04:25:43 +00:00
krasjet
9a98f73434
remove travis ci config
2022-03-01 04:16:38 +00:00
krasjet
c652ad0f5a
add secrets to env
2022-03-01 04:11:12 +00:00
krasjet
f389c0f2df
fix git config
2022-03-01 04:06:24 +00:00
krasjet
a9b0aea79e
finish workflow setup
2022-03-01 04:04:13 +00:00
krasjet
8bb230f439
switch to github workflow
2022-02-28 18:32:01 +00:00
Gary Wang
e1d1d55c9d
Merge pull request #219 from Sefank/patch-1
...
同步原文更新第1章第2节
2022-02-21 00:15:22 +08:00
Sefank
43bfe68ae3
Image file Delete on 01-02
...
同步原文,删除图片文件
2022-02-20 22:43:44 +08:00
Sefank
2d27df4181
Image deleted confirm on 01-02
...
同步原文,确认删除图片
2022-02-20 22:42:37 +08:00
Sefank
94d861595f
Update Images needed for new version of 01-02
...
同步原文图片
2022-02-20 22:03:15 +08:00
Sefank
7a1573fed6
Update 02 Creating a window.md
...
更新至于原文同步
2022-02-20 21:57:21 +08:00
Gary Wang
d689bc54e7
Merge pull request #217 from JeremyYvv/patch-4
...
fix empty link
2022-02-15 17:38:51 +08:00
JeremyYv
36cbf216be
fix empty link
2022-02-15 14:53:56 +08:00
Gary Wang
067f5a6ce6
Merge pull request #216 from ShenMian/ShenMian-patch-1
...
修复翻译错误
2022-02-15 00:19:56 +08:00
ShenMian
0cf780d6f7
修复翻译错误
2022-02-14 23:44:54 +08:00
Gary Wang
8ba448ac1d
Merge pull request #215 from ButylLee/new-theme
...
同步原版错误修改
2022-02-07 12:57:59 +08:00
James Taylor
8e9117da6e
Update 05 Shaders.md
2022-02-06 15:26:04 +08:00
lihenair
554df1e320
Update 05 Light casters.md
...
修改计算错误
2022-01-28 19:59:48 +08:00
Gary Wang
a01e279e65
Merge pull request #213 from squid233/patch-1
...
Fixed solution links
2022-01-21 17:43:23 +08:00
squid233
a5537d7da6
Fixed solution links
2022-01-21 17:35:38 +08:00
Gary Wang
e135759d79
Merge pull request #209 from coppX/new-theme
...
修改错字
2021-12-30 12:40:48 +08:00
coppx
fc17ccb271
修改错字
2021-12-30 09:59:31 +08:00
Gary Wang
9b49cc9dee
Merge pull request #206 from coppX/new-theme
...
fix alpha typo
2021-12-26 22:32:22 +08:00
coppx
c17ddce762
fix alpha typo
2021-12-26 21:34:58 +08:00
Gary Wang
006fe431b2
Merge pull request #202 from JeremyYvv/patch-3
...
bugfix: 更新Assimp库下载链接
2021-12-16 20:14:35 +08:00
JeremyYv
044860c14d
bugfix: 更新Assimp库下载链接
...
原链接已失效
2021-12-16 15:32:45 +08:00
Gary Wang
4a6fb15a80
Merge pull request #201 from JeremyYvv/patch-2
...
bugfix: 修改一处语句通顺
2021-12-14 22:12:52 +08:00
JeremyYv
f2f39b9577
Update 07 Transformations.md
...
修改语句通顺
2021-12-14 15:33:32 +08:00
K
e2b3757871
Merge pull request #199 from coppX/new-theme, fix #127
...
修改关于Normal Distribution Function的翻译
2021-12-06 23:05:09 -05:00
coppx
d7c509abf2
修改关于Normal Distribution Function的翻译2
2021-12-07 09:14:08 +08:00
coppx
84a681b1e5
修改关于Normal Distribution Function的翻译
2021-12-06 09:23:06 +08:00
Gary Wang
55fe8231a9
Merge pull request #197 from vimcaw/patch-1
...
改正一些错别字
2021-11-24 13:33:11 +08:00
Changsheng Zhu
d7a6a7cde3
改正错别字
2021-11-24 10:29:03 +08:00
Changsheng Zhu
ed2344d6d6
改正错别字
2021-11-24 10:22:06 +08:00
Gary Wang
51395365d7
Merge pull request #193 from JeremyYvv/patch-1
...
Update 03 Blending.md
2021-10-30 19:30:40 +08:00
JeremyYv
3e2ce82715
Update 03 Blending.md
2021-10-29 20:35:38 +08:00