I'm trying to get a deferred shader working for depth, normals, and position. The first two seem to be working, but the last one is causing problems.

firstpass.vert:


varying float depth;...