I am making a custom projection system, and I am writing directly to gl_position.xyzw in vertex shader instead of using traditional viewprojection matrix.
I am currently setting the w parameter to 1.0.
Which value z, or w is used to fill the zbuffer? D
o I break the zbuffer by setting w to 1.0?