14 years, 7 months ago
Highlights
NeHe, as Vlad pointed out, is a very good source for OpenGL if you want to get started. But if you really want a book I recommend getting Beginning OpenGL Game Programming. This…
14 years, 7 months ago
14 years, 7 months ago
As zacaj said, the depth values are stored in a nonlinear fasion. This article explains how to get them to be linear. http://olivers.posterous.com/linear-depth-in-glsl-for-real
14 years, 7 months ago