ryosga
74fd8dacf8
Update 02 Mesh.md
...
纹理编号是整型, 应该调用setInt
2022-05-24 20:11:38 +08:00
ryosga
518c27de3d
Update 09 Geometry Shader.md
...
去除重复段落
2022-05-23 12:26:28 +08:00
Gary Wang
93f165d356
Merge pull request #243 from ryosga/patch-1
...
Update 06 Multiple lights.md
2022-05-14 20:52:44 +08:00
ryosga
09bc12e3be
Update 06 Multiple lights.md
...
勘误: 一下 -> 以下
2022-05-13 15:47:44 +08:00
Gary Wang
3fe904ab8b
Merge pull request #241 from ryosga/patch-2
...
Update 05 Light casters.md
2022-05-12 22:15:32 +08:00
Gary Wang
173edf1344
Merge pull request #240 from ryosga/patch-1
...
Update 02 Basic Lighting.md
2022-05-12 22:13:25 +08:00
ryosga
34a7b90529
Update 05 Light casters.md
...
勘误: direction -> position
2022-05-12 20:23:48 +08:00
ryosga
ed97fa6caa
Update 02 Basic Lighting.md
...
光源时静止的 -> 光源是静止的
2022-05-12 20:21:54 +08:00
Gary Wang
a9d2f4d95b
Merge pull request #214 from lihenair/patch-1
...
Update 05 Light casters.md
2022-05-08 19:45:03 +08:00
Gary Wang
8d659cd5aa
Merge pull request #236 from weiwen1990/patch-6
...
翻译准确性
2022-05-08 19:41:33 +08:00
Gary Wang
b54e12d5a7
Merge pull request #225 from LJHG/new-theme
...
fix typo
2022-05-04 00:03:06 +08:00
Gary Wang
09c3ffc8fe
Merge pull request #233 from weiwen1990/patch-3
...
改进翻译
2022-05-03 01:54:27 +08:00
Gary Wang
e1a1b1fdc0
Merge pull request #232 from weiwen1990/patch-2
...
翻译更准确
2022-05-01 23:10:02 +08:00
WEI Wen
6d1b29fe70
翻译准确性
...
对照原文调整,补全一部分遗漏。
2022-04-28 19:48:20 +08:00
Gary Wang
adf7a2a19b
Merge pull request #235 from weiwen1990/patch-5
...
翻译准确性
2022-04-26 22:26:58 +08:00
WEI Wen
c17e66b3ce
翻译准确性
...
surface翻译为表面,以及其他少量与原文偏差的地方。
2022-04-26 15:31:10 +08:00
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