Monthly Archives: January 2014


Linear depth buffer my ass

It’s often believed that in order to achieve a linear depth buffer, one needs to counter the W division by multiplying the Z component of the position before returning the vertex shader: At least that’s what I thought too for a very long time, ever since I read Robert Dunlop’s […]