skolko's picture

DepthTest problem

Hi!
I am new to OpenTK and OpenGL. So far I have successfully used OpenTK to map a texture on B-spline.
But now I want to draw two planes in 3D.
One in the front and one in the back. As you can see in the picture below.

Each plains is put together by 50*50 quads.
I have enabled DepthTest but I get fractions from back plain on the plain in front. I used Color3 to set the color so there is no alpha channel.

Is there anything else that needs to be enabled?