Monthly Archives: February 2009

Back To Past: Cirrus Logic VLB CL-GD5428 with… 1Mb of Graphics Memory!

Posted in Graphics Cards | Tagged , , , | 4 Comments

How To Linearize the Depth Value

Here is a GLSL code snippet to convert the exponential depth to a linear value: float f=1000.0; float n = 0.1; float z = (2 * n) / (f + n – texture2D( texture0, texCoord ).x * (f – n)); … Continue reading

Posted in GLSL | Tagged , , , | Leave a comment