How can I change the number of bits of the depth buffer.
I have used:
GLContext kj =this.getGLContext();
GLCapabilities lk = kj.getGLCapabilities();
lk.setDepthBits(32);
in the init function, but don't work, I have a large terrain scene, and the
z-buffer don't work properly with vertex, the depth buffer has 16 bits, if I
can put 32 or 64, the problem will solve, I think
Thanks
|