mouse0w0 / mouse0w0.github.io

https://mouse0w0.github.io
5 stars 0 forks source link

使用LWJGL3开发3D游戏 第十章 要有光 | 耗子的博客 #30

Open mouse0w0 opened 5 years ago

mouse0w0 commented 5 years ago

https://mouse0w0.github.io/2019/02/07/Lwjglbook-10-let-there-be-light/

本文翻译自:https://ahbejarano.gitbook.io/lwjglgamedev/chapter10 英文标题:Let there be light 在本章中,我们将学习如何为我们的3D游戏引擎添加光照。我们不会去实现一个完美的物理光照模型,因为抛开复杂性不说,它还需要巨量的计算机资源,相反我们只需要一个近似的、像样的光照效果。我们将使用一种名为 Phong 的着色算法(由Bu