Skip to content

Commit a0e3516

Browse files
MarkusBillharzgreggman
authored andcommitted
replace outdated urls
1 parent 8684239 commit a0e3516

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

webgl/lessons/ko/webgl-2d-vs-3d-library.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ WebGL버전이 하는일도 "우리가 작성한" GLSL 코드에 있는 계산
164164
물론 x,y,z,w를 제공하면 렌더링을 수행하기 이전에 W로 나누어 주긴 하지만 그 정도를 가지고 3D 라이브러리라고 하기에는 부족합니다.
165165
3D 라이브러리에서는 3D 데이터를 제공하면 클립 공간 좌표를 계산하는 것까지 해줍니다.
166166

167-
몇 가지 참고자료를 더하자면 [emscripten](https://emscripten.org/)에서는 WebGL을 가지고 예전 버전의 OpenGL을 에뮬레이션을 제공합니다. 코드는 [여기](https://github.com/emscripten-core/emscripten/blob/master/src/library_glemu.js) 있습니다.
168-
살펴보다 보면 상당량의 코드가 예전 OpenGL의 3D 기능을 에뮬레이팅하기 위해 OpenGL ES 2.0에서는 사라진 셰이더 생성 기능을 위한 것을 알 수 있습니다. [Regal](https://github.com/p3/regal/blob/184c62b7d7761481609ef1c1484ada659ae181b9/src/regal/RegalIff.cpp)에서도 동일한 것을 볼 수 있는데, 이 프로젝트는 3D가 포함되지 않은 모던 OpenGL을 가지고 3D가 포함된 예전 OpenGL을 에뮬레이팅하는 NVidia의 프로젝트입니다.
167+
몇 가지 참고자료를 더하자면 [emscripten](https://emscripten.org/)에서는 WebGL을 가지고 예전 버전의 OpenGL을 에뮬레이션을 제공합니다. 코드는 [여기](https://github.com/emscripten-core/emscripten/blob/main/src/lib/libglemu.js) 있습니다.
168+
살펴보다 보면 상당량의 코드가 예전 OpenGL의 3D 기능을 에뮬레이팅하기 위해 OpenGL ES 2.0에서는 사라진 셰이더 생성 기능을 위한 것을 알 수 있습니다. [Regal](https://chromium.googlesource.com/external/p3/regal/+/refs/heads/master/src/regal/RegalIff.cpp)에서도 동일한 것을 볼 수 있는데, 이 프로젝트는 3D가 포함되지 않은 모던 OpenGL을 가지고 3D가 포함된 예전 OpenGL을 에뮬레이팅하는 NVidia의 프로젝트입니다.
169169
마지막으로 [여기에 three.js에서 3D를 위해 사용하는 셰이더가 있습니다](https://gist.github.com/greggman/41d93c00649cba78abdbfc1231c9158c).
170170
예시들을 보다보면 많은 일들이 벌어지고 있는것을 볼 수 있습니다. 예시와 코드들에서 제공하는 기능들은 라이브러리에서 제공하는 것이지 WebGL이 제공하는 것이 아님을 알 수 있습니다.
171171

webgl/lessons/webgl-2d-vs-3d-library.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ supply 3D data, the libraries take care of calculating clip space points from 3D
187187

188188
To give a few more points of reference, [emscripten](https://emscripten.org/)
189189
provides old OpenGL emulation on top of WebGL. That code is
190-
[here](https://github.com/emscripten-core/emscripten/blob/master/src/library_glemu.js).
190+
[here](https://github.com/emscripten-core/emscripten/blob/main/src/lib/libglemu.js).
191191
If you browse through the code you'll see much of it is generating shaders to
192192
emulate the old 3D parts of OpenGL that were removed in OpenGL ES 2.0. You can
193193
see the same in
194-
[Regal](https://github.com/p3/regal/blob/184c62b7d7761481609ef1c1484ada659ae181b9/src/regal/RegalIff.cpp),
194+
[Regal](https://chromium.googlesource.com/external/p3/regal/+/refs/heads/master/src/regal/RegalIff.cpp),
195195
a project NVidia started to emulate old OpenGL with 3D included in modern OpenGL
196196
without 3D included. Yet one more example, [here are the shaders three.js
197197
uses](https://gist.github.com/greggman/41d93c00649cba78abdbfc1231c9158c) to

0 commit comments

Comments
 (0)