搬运 & 翻译自油管创作者 Sebastian Lague。由 @六氟化鼬 翻译。
游戏编程挑战:传送门 | Coding Adventure: Portals
传送门实验,为了科学(译者评:译者曾今想做一些非欧空间的游戏尝试,也试验过类似传送门效果,有些小惊喜的是竟与 Sebastian 找到过同一资料学习)
- 本家:
https://www.youtube.com/watch?v=cWpFZbjtSQg - 项目源码:
现已对 patron 赞助者开放,在2月28号时对所有人公开。如果你想现在就获得,或是只是想赞助支持我创作更多的视频,请访问 https://www.patreon.com/SebastianLague - 所用资源:
- https://tomhulton.blogspot.com/2015/08/portal-rendering-with-offscreen-render.html
- http://www.terathon.com/lengyel/Lengyel-Oblique.pdf
- https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/projection-matrices-what-you-need-to-know-first
- https://www.turiyaware.com/a-solution-to-unitys-camera-worldtoscreenpoint-causing-ui-elements-to-display-when-object-is-behind-the-camera/
- 3D 模型:
- 音乐:
https://creativecommons.org/licenses/by/3.0/
玩《传送门》的时候就在想传送门效果是怎样实现的,那个疑问今天终于被解答了(虽然很多部分没看懂)